This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
General purpose registers not in core file
- From: Miguel A. Nuñez <miguel dot nunez at terra dot es>
- To: gdb at sources dot redhat dot com
- Date: Tue, 6 Sep 2005 17:41:27 +0200
- Subject: General purpose registers not in core file
- References: <1971061556421.20050906173932@terra.es>
- Reply-to: Miguel Angel <miguel dot nunez at terra dot es>
Hello,
I'm trying to debug a core file but I always get this error (multit is my executable)
[/export/home/miguel]$ gdb multit core
GNU gdb 6.0
Copyright 2003 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 "sparc-sun-solaris2.9"...
warning: Couldn't find general-purpose registers in core file.
warning: Couldn't find general-purpose registers in core file.
0x0000000000000000 in ?? ()
(gdb)
(gdb)
(gdb) quit
I have compiled my executable using -g (I tried also using -ggdb), but I always get the same error. Can anyone point me to what I'm doing wrong?
Thanks
Miguel Angel