Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* core file not loaded
@ 2004-10-06 11:50 Fabian Cenedese
  2004-10-06 14:06 ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Fabian Cenedese @ 2004-10-06 11:50 UTC (permalink / raw)
  To: gdb

Hi

gdb-6.1.1 on cygwin, target=PPC

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?

Thanks

bye  Fabi



^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: core file not loaded
@ 2004-10-06 17:41 Xinan Tang
  0 siblings, 0 replies; 8+ messages in thread
From: Xinan Tang @ 2004-10-06 17:41 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb

Hi

  Has anyone implemented "gcore' command in the remote stub without any
OS support?  If I want to support the core file in the remote stub,
where can I find the spec. on the core file (elf) format?

Thanks

--Xinan
  

-----Original Message-----

That's not a core file.  You can probably convert it to a core file,
but you'd also have to teach the BFD and GDB powerpc-eabi support to
recognize it as a powerpc-eabi core file.

A core file is one of several "standard" formats, generated by various
operating systems - lately, a particular kind of ELF object.  Easiest
might be to convert your binary dump to an ELF core file and copy
support from powerpc-linux.

Note that a memory dump isn't enough; for instance, you've lost all
register values.

-- 
Daniel Jacobowitz


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2004-10-06 17:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-06 11:50 core file not loaded Fabian Cenedese
2004-10-06 14:06 ` Daniel Jacobowitz
2004-10-06 16:22   ` Fabian Cenedese
2004-10-06 17:12     ` Daniel Jacobowitz
2004-10-06 17:45       ` Paul Koning
2004-10-06 17:45         ` Kris Warkentin
2004-10-06 17:55         ` Daniel Jacobowitz
2004-10-06 17:41 Xinan Tang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox