This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb breaks in Solaris 2.9


Hi *,

Looks like Gdb has a problem with the Solaris 2.9 OS. The libthread_db.so.1
library has changed between Solaris 2.8 and 2.9. Now invoking gdb 5.1.1 in
Solaris 2.9 gives the relocation error -
"relocation error: file /usr/lib/sparcv9/libthread_db.so.1: symbol ps_pread:
referenced symbol not found"

The detail gdb output is given below.
1. Can it be treated as a bug in GDB?
2. Although I am trying to find a solution, does anyone already has any fix
for it?

GDB OUTPUT:
-----------
$gdb
[GDB will not be able to debug user-mode threads: ld.so.1: gdb: fatal:
relocation error: file /usr/lib/sparcv9/libthread_db.so.1: symbol ps_pread:
referenced symbol not found]
GNU gdb 4.18 + 02.00.01.00 (sparc64-sun-solaris2.7),
Copyright 1998 Free Software Foundation, Inc.
Setting up the environment for debugging gdb.
.gdbinit:5: Error in sourced command file:
No symbol table is loaded.  Use the "file" command.
(gdb)



Thanks,
debashis.

Attachment: InterScan_Disclaimer.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]