This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: core file not loaded


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]