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

Re: How can core dumps be debugged?

by philwil :: Rate this Message:

Reply to Author | View in Thread

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
> 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.

---
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?