This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: core file not loaded
- From: Daniel Jacobowitz <drow at false dot org>
- To: Fabian Cenedese <Cenedese at indel dot ch>
- Cc: gdb at sources dot redhat dot com
- Date: Wed, 6 Oct 2004 09:40:21 -0400
- Subject: Re: core file not loaded
- References: <5.2.0.9.1.20041006132207.01d43578@NT_SERVER>
On Wed, Oct 06, 2004 at 01:32:03PM +0200, Fabian Cenedese wrote:
> Hi
>
> gdb-6.1.1 on cygwin, target=PPC
More specific - what target triplet?
>
> I tried to read a core dump file of our embedded target, but gdb gives
> me an error:
>
> (gdb) core N:/Temp/SAMCLASS/MemDmp00.bin
> GDB can't read core files on this machine.
> (gdb) core
> GDB can't read core files on this machine.
>
> I looked for the error message in the sources and found this:
>
> /* Find a single core_stratum target in the list of targets and return it.
> If for some reason there is more than one, return NULL. */
>
> But I couldn't see what's wrong. What is needed to work with a core file?
The target needs to tell GDB how to load core files. This is a highly
OS-specific operation.
--
Daniel Jacobowitz