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

Sebastian Herbszt herbszt at gmx.de
Thu May 20 13:25:02 PDT 2010


Don Hiatt wrote:
> [Sorry, I sent this reply to hpa (sorry) instead of the list]

<snip>

> Breakpoints still don't work. Here is the gdb session. From syslinux's
> "boot:" I type "/boot/hello" and it runs but doesn't trigger the
> breakpoint in main().
> 
> 
> Reading symbols from /export/devel/syslinux/core/extlinux.elf...done.
> (gdb) target remote localhost:1234
> Remote debugging using localhost:1234
> 0x000f1996 in ?? ()
> (gdb) add-symbol-file com32/samples/hello.elf free_high_memory
> add symbol table from file "com32/samples/hello.elf" at
>        .text_addr = 0x0
> (y or n) y
> Reading symbols from /export/devel/syslinux/com32/samples/hello.elf...done.
> (gdb) b hello.c:main
> Breakpoint 1 at 0xa4: file hello.c, line 24.

Does 0xa4 look correct? Shouldn't it be somewhere above free_high_memory?

Sebastian




More information about the Syslinux mailing list