RE: How can core dumps be debugged?
"William M. Duke" <[email protected]> Thu, 8 Jan 2009 08:43:10 -0600
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers.coldfire |
|---|---|
| Message-ID | <[email protected]> |
Yes, I am using the m68k version of gdb (m68k-linux-gdb) to read the core files. =20 -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Phil Wilshire Sent: Thursday, January 08, 2009 6:42 AM To: William M. Duke Subject: Re: [ColdFire] How can core dumps be debugged? Hi William, Sorry for the silly question. Are you using the m68k version of gdb to read the core files. (m68k-linux-gdb) Regards Phil Wilshire William M. Duke wrote: > We are using a MCF5474 ColdFire and LinuxBSP. The application we are=20 > running on the ColdFire occasionally crashes. I have been able to do=20 > some debugging using gdb and gdbserver (over Ethernet); however, this=20 > method slows down the application. I have also been able to get crashes=20 > 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". >=20 > =20 >=20 > Is there a patch to gdb to get it to read core files? >=20 > =20 >=20 > Is there another program that can be used to debug m68k core files? >=20 > =20 >=20 > 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=3Di686-pc-linux-gnu=20 > -target=3Dm68k-linux"). LinuxBSP is built on a PC running Fedora 7. >=20 > =20 >=20 > =20 >=20 > Thanks, >=20 > =20 >=20 > Bill >=20 > =20 >=20 > =20 >=20 > [email protected] Send a post to the list.=20 > [email protected] Join the list. [email protected] > Join the list in digest mode. [email protected] Leave the list. --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list. --- [email protected] Send a post to the list. [email protected] Join the list. [email protected] Join the list in digest mode. [email protected] Leave the list.