Re: How can core dumps be debugged?

Phil Wilshire <[email protected]> Thu, 08 Jan 2009 07:41:49 -0500
Newsgroups gmane.comp.hardware.motorola.microcontrollers.coldfire
Message-ID <[email protected]>
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
> 
>  
> 
>  
> 
> [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.