* General purpose registers not in core file [not found] <1971061556421.20050906173932@terra.es> @ 2005-09-06 15:41 ` Miguel A. Nuñez 2005-09-06 15:43 ` Daniel Jacobowitz 0 siblings, 1 reply; 5+ messages in thread From: Miguel A. Nuñez @ 2005-09-06 15:41 UTC (permalink / raw) To: gdb 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: General purpose registers not in core file 2005-09-06 15:41 ` General purpose registers not in core file Miguel A. Nuñez @ 2005-09-06 15:43 ` Daniel Jacobowitz 2005-09-06 16:26 ` Re[2]: " Miguel A. Nuñez 0 siblings, 1 reply; 5+ messages in thread From: Daniel Jacobowitz @ 2005-09-06 15:43 UTC (permalink / raw) To: Miguel A. Nuñez; +Cc: gdb On Tue, Sep 06, 2005 at 05:41:27PM +0200, Miguel A. Nuñez wrote: > 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 > This GDB was configured as "sparc-sun-solaris2.9"... Try using a more recent version of GDB, which has better Solaris support. You may also want a 64-bit GDB binary. -- Daniel Jacobowitz CodeSourcery, LLC ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re[2]: General purpose registers not in core file 2005-09-06 15:43 ` Daniel Jacobowitz @ 2005-09-06 16:26 ` Miguel A. Nuñez 2005-09-06 16:29 ` Daniel Jacobowitz 0 siblings, 1 reply; 5+ messages in thread From: Miguel A. Nuñez @ 2005-09-06 16:26 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: gdb Thank you Daniel. My executable is a 64-bit one. Does this make any difference? Should I use a 64-bit gdb binary? Tuesday, September 6, 2005, 5:43:26 PM, usted escribió: DJ> On Tue, Sep 06, 2005 at 05:41:27PM +0200, Miguel A. Nuñez wrote: >> 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 >> This GDB was configured as "sparc-sun-solaris2.9"... DJ> Try using a more recent version of GDB, which has better Solaris DJ> support. DJ> You may also want a 64-bit GDB binary. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: General purpose registers not in core file 2005-09-06 16:26 ` Re[2]: " Miguel A. Nuñez @ 2005-09-06 16:29 ` Daniel Jacobowitz 2005-09-06 16:54 ` Re[2]: " Miguel A. Nuñez 0 siblings, 1 reply; 5+ messages in thread From: Daniel Jacobowitz @ 2005-09-06 16:29 UTC (permalink / raw) To: Miguel A. Nuñez; +Cc: gdb On Tue, Sep 06, 2005 at 06:26:18PM +0200, Miguel A. Nuñez wrote: > Thank you Daniel. > > My executable is a 64-bit one. Does this make any difference? Should I use a 64-bit gdb binary? Yes, absolutely. -- Daniel Jacobowitz CodeSourcery, LLC ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re[2]: General purpose registers not in core file 2005-09-06 16:29 ` Daniel Jacobowitz @ 2005-09-06 16:54 ` Miguel A. Nuñez 0 siblings, 0 replies; 5+ messages in thread From: Miguel A. Nuñez @ 2005-09-06 16:54 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: gdb Ok! I got gdb from www.sunfreeware.com, where there are solaris packages ready to install with pkgadd. I will have to make a 64-bits binary from the sources. Tuesday, September 6, 2005, 6:29:12 PM, usted escribió: DJ> On Tue, Sep 06, 2005 at 06:26:18PM +0200, Miguel A. Nuñez wrote: >> Thank you Daniel. >> >> My executable is a 64-bit one. Does this make any difference? >> Should I use a 64-bit gdb binary? DJ> Yes, absolutely. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-06 16:54 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1971061556421.20050906173932@terra.es> 2005-09-06 15:41 ` General purpose registers not in core file Miguel A. Nuñez 2005-09-06 15:43 ` Daniel Jacobowitz 2005-09-06 16:26 ` Re[2]: " Miguel A. Nuñez 2005-09-06 16:29 ` Daniel Jacobowitz 2005-09-06 16:54 ` Re[2]: " Miguel A. Nuñez
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).