[syslinux] syslinux current dir

Wagner Ferenc wferi at niif.hu
Fri May 25 13:41:57 PDT 2007


"H. Peter Anvin" <hpa at zytor.com> writes:

>> Is there a way to get syslinux symbol information into gdb?
>
> Unfortunately I don't think so.

I had some success by generating a dummy as source file full of .stabs
directives, based on ldlinux.map.  It lets me insert breakpoints via
labels at least.  However, nasm can generate stabs info for the elf
output format, which would be more fun to use.  If only ldlinux.asm
could be assembled into elf format.  Problems start at the org
directive, which is accepted for the bin format only...  Can't you
perhaps think of a way around?  Then the debugging info could be
loaded from that after gdb was attached to qemu.
-- 
Thanks,
Feri.




More information about the Syslinux mailing list