This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
RE: corefiles/1905: Is SPARC 64 bit supported?
- From: "Pickett, David" <David dot Pickett at phlx dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 7 Apr 2005 18:28:01 -0000
- Subject: RE: corefiles/1905: Is SPARC 64 bit supported?
- Reply-to: "Pickett, David" <David dot Pickett at phlx dot com>
The following reply was made to PR corefiles/1905; it has been noted by GNATS.
From: "Pickett, David" <David.Pickett@phlx.com>
To: 'Daniel Jacobowitz' <drow@false.org>
Cc: gdb-gnats@sources.redhat.com
Subject: RE: corefiles/1905: Is SPARC 64 bit supported?
Date: Thu, 7 Apr 2005 14:21:55 -0400
I scoured the docs and install files, and there is no reference to the 64
bit version. I am rebuilding with the string you suggested.
I wonder why configure/make makes a less capable version than the machine
and OS it is on? I'd hope the 64 bit gdb can deal with 32 bit code even if
it never gets used with 64 bit code.
Here we go - - - Nope, still NG:
tdas-srv2:1:pts/160 /export/home/uabdp3
$ sol
Segmentation Fault(coredump)
tdas-srv2:1:pts/160 /export/home/uabdp3
$ gdb bin/sol core
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 "sparc64-sun-solaris2.8"...
(no debugging symbols found)
warning: Couldn't find general-purpose registers in core file.
warning: Wrong size fpregset in core file.
Reading symbols from /usr/lib/sparcv9/libc.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/64/libc.so.1
Reading symbols from /usr/lib/sparcv9/libdl.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/64/libdl.so.1
Reading symbols from
/usr/platform/SUNW,Ultra-Enterprise/lib/sparcv9/libc_psr.so.1...
(no debugging symbols found)...done.
Loaded symbols for
/usr/platform/SUNW,Ultra-Enterprise/lib/sparcv9/libc_psr.so.1
warning: Couldn't find general-purpose registers in core file.
warning: Wrong size fpregset in core file.
#0 0x0000000000000000 in ?? ()
(gdb) where
#0 0x0000000000000000 in ?? ()
(gdb) quit
tdas-srv2:1:pts/160 /export/home/uabdp3
$ file core bin/sol
core: ELF 64-bit MSB core file SPARCV9 Version 1, from 'sol'
bin/sol: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically
linked, not stripped
tdas-srv2:1:pts/160 /export/home/uabdp3
$
-----Original Message-----
From: Daniel Jacobowitz [mailto:drow@false.org]
Sent: Tuesday, April 05, 2005 5:31 PM
To: Pickett, David
Cc: gdb-gnats@sources.redhat.com
Subject: Re: corefiles/1905: Is SPARC 64 bit supported?
On Tue, Apr 05, 2005 at 09:18:11PM -0000, David.Pickett@phlx.com wrote:
> $ gdb bin/sol core
> 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 "sparc-sun-solaris2.8"...
> (no debugging symbols found)
This is a 32-bit GDB; you need to use a 64-bit GDB, configured for
sparc64-sun-solaris2.8.
--
Daniel Jacobowitz
CodeSourcery, LLC