This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: core file not loaded
- From: "Xinan Tang" <xinan at TidalNetworks dot net>
- To: "Daniel Jacobowitz" <drow at false dot org>
- Cc: <gdb at sources dot redhat dot com>
- Date: Wed, 6 Oct 2004 10:38:11 -0700
- Subject: 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