This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
cross gdb core file handling
- From: mats dot lindberg at se dot transport dot bombardier dot com
- To: gdb at sources dot redhat dot com
- Date: Tue, 25 Oct 2005 15:07:23 +0200
- Subject: cross gdb core file handling
Hi I'm trying to build cross gdb's with host Solaris and targets FreeBSD
and also Linux
My main use for this is to analyse coredumps from these two targets on my
host environment.
My FreeBSD-target gdb works fine but the linux one refuses to even look at
a core file.
I've built both with gdb-6.3 sources on my host system using gcc-3.4.3 and
configured both with only --prefix and --target configure options.
Firing them up looks like
...
siglim@hlmxserv08 > ./i386-freebsd-gdb
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=sparc-sun-solaris2.8
--target=i386-freebsd".
(gdb) core /home/siglim/tmp/core.520
Core was generated by `fspa'.
#0 0x281a665b in ?? ()
...
And the cross linux one
...
siglim@hlmxserv08 > ./i386-linux-gdb
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=sparc-sun-solaris2.8
--target=i386-linux".
(gdb) core kalle
GDB can't read core files on this machine.
(gdb)
Does anyone have a remedy for this?
Mats
_______________________________________________________________________________________________________________
This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized to
receive it. If you are not the intended recipient, please do not read,
copy, use or disclose the contents of this communication to others. Please
notify the sender that you have received this e-mail in error by reply
e-mail, and delete the e-mail subsequently.
Thank you.
_________________________________________________________________________________________________________________
Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut
contenir des renseignements confidentiels ou protÃgÃs et est destinà Ã
lâusage exclusif du destinataire ci-dessus. Toute autre personne est par
les prÃsentes avisÃe quâil est strictement interdit de le diffuser, le
distribuer ou le reproduire. Si vous lâavez reÃu par inadvertance, veuillez
nous en aviser et dÃtruire ce message.
Merci.
_________________________________________________________________________________________________________________