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

Don Hiatt donhiatt at gmail.com
Wed May 19 13:43:06 PDT 2010


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.




More information about the Syslinux mailing list