This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
How can I analyze a core from the target on my hostsystem?
- To: gdb at sources dot redhat dot com
- Subject: How can I analyze a core from the target on my hostsystem?
- From: "Frank Haverkamp" <f dot haverkamp at web dot de>
- Date: Fri, 8 Jun 2001 12:55:22 +0200
- Organization: http://freemail.web.de/
Hi,
one of the programs on my PowerPC embedded systems generated a
core file. I want to analyze it on my host pc. Therefore I started my
powerpc-linux-gdb debugger and asked it to load the core, but it
refused:
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i586-pc-linux-gnu --target=powerpc-linux".
(gdb)
(gdb)
(gdb) core-file core
GDB can't read core files on this machine.
(gdb)
The gdb running on the target can analyze the core. But I want to
do that on the hostsystem cause in production I will not have access
to the target system anymore, but I will get the core files :-)
and I should analyze them.
So my question:
Is that a misconfiguration of my selfcompiled powerpc-linux-gdb or is that not possible in general, and if it isn't what is the reason for it?
What options do I have if analyzation of the target core file with is not possible on the host? Are there any other tools for that purpose?
Thanks,
Frank
--
Frank Haverkamp
f.haverkamp@web.de
______________________________________________________________________________
Sie surfen im Internet statt im Meer? Selbst schuld!
Auf zum Strand: http://lastminute.de/?PP=1-0-100-105-1