« Return to Thread: How can core dumps be debugged?

How can core dumps be debugged?

by William M. Duke :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.

We are using a MCF5474 ColdFire and LinuxBSP. The application we are running on the ColdFire occasionally crashes. I have been able to do some debugging using gdb and gdbserver (over Ethernet); however, this method slows down the application. I have also been able to get crashes to generate core files, but when I attempt to debug the core file with gdb, I get the message “GDB can’t read core files on this machine”.

 

Is there a patch to gdb to get it to read core files?

 

Is there another program that can be used to debug m68k core files?

 

NOTE: The LinuxBSP we are using has a 2.6.10 kernel, gcc at 3.4.0, and gdb at 6.6-16.fc7rh (configured as “—host=i686-pc-linux-gnu –target=m68k-linux”). LinuxBSP is built on a PC running Fedora 7.

 

 

Thanks,

 

Bill

 

 

coldfire@... Send a post to the list. coldfire-join@... Join the list. coldfire-digest@... Join the list in digest mode. coldfire-leave@... Leave the list.

 « Return to Thread: How can core dumps be debugged?