[syslinux] Debugging

Sebastian Herbszt herbszt at gmx.de
Tue Jun 24 13:29:01 PDT 2008


H. Peter Anvin wrote:
> Com32 modules is one thing.  Qemu+gdb generally work well with those 
> (although you may have to remove -fomit-frame-pointer from the relevant 
> C compiler options).

Bochs+gdb works pretty nice too.

> Debugging the core under gdb I find pretty hopeless, because gdb doesn't 
> handle segmented memory at all.  As I mentioned, I tend to use the Bochs 
>  builtin debugger instead.

So you switch between Bochs+internal debugger and Qemu+gdb?

> Getting a stack trace in the core is also pretty hopeless.  However, 
> examining the stack manually can usually tell you were you ended up from.

- Sebastian




More information about the Syslinux mailing list