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?
Someone must have some experience with source code level debugging of LinuxBIOS with an American Arium ECM-50. Thanks.
Steve Kimball Benchmark Electronics Hudson, NH
On Tue, 19 Oct 2004 Stephen.Kimball@bench.com wrote:
Someone must have some experience with source code level debugging of LinuxBIOS with an American Arium ECM-50. Thanks.
wow! I want to hear about that when you get it going. Another FAQ entry.
ron
Stephen.Kimball@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
On Fri, 22 Oct 2004, Eric W. Biederman wrote:
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.
that's not quite correct. There are a host of cpu failures you can detect with a jtag interface that gdb stubs are useless for. GDB stubs requires that the processor be basically sane, jtag interfaces are not near as picky.
ron