This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: tdep/2109: gdb 6.4 and 6.4.50 can't debug x86_64 binaries onSolaris 2.10
- From: Tim Mooney <Tim dot Mooney at ndsu dot edu>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 29 Apr 2006 22:58:01 -0000
- Subject: Re: tdep/2109: gdb 6.4 and 6.4.50 can't debug x86_64 binaries onSolaris 2.10
- Reply-to: Tim Mooney <Tim dot Mooney at ndsu dot edu>
The following reply was made to PR tdep/2109; it has been noted by GNATS.
From: Tim Mooney <Tim.Mooney@ndsu.edu>
To: gdb-gnats@sources.redhat.com
Cc:
Subject: Re: tdep/2109: gdb 6.4 and 6.4.50 can't debug x86_64 binaries on
Solaris 2.10
Date: Sat, 29 Apr 2006 17:54:10 -0500 (CDT)
In regard to: Re: tdep/2109: gdb 6.4 and 6.4.50 can't debug x86_64 binaries...:
>> Category: tdep
>> Responsible: unassigned
>> Synopsis: gdb 6.4 and 6.4.50 can't debug x86_64 binaries on Solaris 2.10
>> Arrival-Date: Wed Apr 05 02:58:01 GMT 2006
In addition to the problem I originally reported, I've also discovered
that gdb 6.4 can't debug sparc ELF64 binaries on Solaris 2.8. It seems
the problem is more with ELF64 than it is with the architecture or the
OS version:
05:41 PM bogie gdb-6.4$./gdb/gdb /local/bin/rpmbuild ~/specs/wget/core
GNU gdb 6.4
Copyright 2005 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"...
warning: core file may not match specified executable file.
Core was generated by `rpmbuild -v -ba wget.spec'.
Program terminated with signal 10, Bus error.
Error while mapping shared library sections:
"/local/lib/64/libbeecrypt.so.6": not in executable format: File format
not recognized.
Error while mapping shared library sections:
"/lib/sparcv9/libCstd.so.1": not in executable format: File format not
recognized.
Error while mapping shared library sections:
"/lib/sparcv9/libCrun.so.1": not in executable format: File format not
recognized.
Reading symbols from /local/lib/64/librpmbuild-4.4.so...done.
Loaded symbols for /local/lib/64/librpmbuild-4.4.so
Reading symbols from /local/lib/64/librpm-4.4.so...done.
Loaded symbols for /local/lib/64/librpm-4.4.so
Reading symbols from /local/lib/64/librpmdb-4.4.so...done.
Loaded symbols for /local/lib/64/librpmdb-4.4.so
Reading symbols from /local/lib/64/librpmio-4.4.so...done.
Loaded symbols for /local/lib/64/librpmio-4.4.so
Reading symbols from /local/lib/64/libpopt.so.0...done.
Loaded symbols for /local/lib/64/libpopt.so.0
Reading symbols from /local/lib/64/libsqlite3.so.0...done.
Loaded symbols for /local/lib/64/libsqlite3.so.0
Error while reading shared library symbols:
"/local/lib/64/libbeecrypt.so.6": can't read symbols: File format not recognized.
Reading symbols from /usr/lib/sparcv9/libz.so.1...done.
Loaded symbols for /usr/lib/64/libz.so.1
Reading symbols from /local/lib/64/libexpat.so.1...elfread.c:341: internal-error: sect_index_data not initialized
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y
elfread.c:341: internal-error: sect_index_data not initialized
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) n
--
Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services (701) 231-1076 (Voice)
Room 242-J6, IACC Building (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164