Re: tdep/2109: gdb 6.4 and 6.4.50 can't debug x86_64 binaries on Solaris 2.10

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: tdep/2109: gdb 6.4 and 6.4.50 can't debug x86_64 binaries on Solaris 2.10

Tim Mooney-2
The following reply was made to PR tdep/2109; it has been noted by GNATS.

From: Tim Mooney <[hidden email]>
To: [hidden email]
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                              [hidden email]
 Information Technology Services         (701) 231-1076 (Voice)
 Room 242-J6, IACC Building              (701) 231-8541 (Fax)
 North Dakota State University, Fargo, ND 58105-5164