[syslinux] Can't get COM32 + GDB to work

H. Peter Anvin hpa at zytor.com
Wed May 19 13:55:50 PDT 2010


On 05/19/2010 01:43 PM, Don Hiatt wrote:
> On Wed, May 19, 2010 at 12:04 PM, H. Peter Anvin <hpa at zytor.com> wrote:
>> You need to tell gdb that the module is loaded at an offset:
>>
>> gdb core/extlinux.elf
>> target remote localhost:1234
>> add-symbol-file com32/samples/hello.elf -s free_high_memory
>>
>>        -hpa
>>
> Thanks, hpa. Is there another option I'm missing as gdb returns:
> 
> (gdb) add-symbol-file com32/samples/hello.elf -s free_high_memory
> USAGE: add-symbol-file <filename> <textaddress> [-mapped] [-readnow]
> [-s <secname> <addr>]*
> 
> Sorry, I haven't used this before.
> 

Sorry, drop the -s ... it shouldn't have been there.

	-hpa




More information about the Syslinux mailing list