core file not loaded

Xinan Tang xinan@TidalNetworks.net
Wed Oct 6 17:41:00 GMT 2004


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



More information about the Gdb mailing list