cross gdb core file handling
mats.lindberg@se.transport.bombardier.com
mats.lindberg@se.transport.bombardier.com
Tue Oct 25 13:11:00 GMT 2005
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.
_________________________________________________________________________________________________________________
More information about the Gdb
mailing list