Makefile changes for symbols

Eric W. Biederman ebiederman at lnxi.com
Fri Oct 22 12:13:00 CEST 2004


<Stephen.Kimball at bench.com> writes:

> Can someone give me the Makefile changes to make a LinuxBIOS with
> symbols?  I tried adding "-gdwarf-2" to CFLAGS, but I'm not sure where
> the unstripped output would be.  
> 
> Are there any features in the code that are useful in debugging
> LinuxBIOS?
> Any defines that should change as well?

Hmm. The ring buffer console might be useful.
 
> Someone must have some experience with source code level debugging of
> LinuxBIOS with an American Arium ECM-50.  Thanks.

Alternatively it might be work adding gdb stubs into LinuxBIOS.  And doing
using a remote debugger that way.  What a jtag interface provides
is really not much more than what gdb stubs provides.  At least
not after memory is initialized.

Eric



More information about the coreboot mailing list