gdb breaks in Solaris 2.9

debashis mahata debashis.mahata@wipro.com
Wed Feb 13 22:34:00 GMT 2002


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.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://sourceware.org/pipermail/gdb/attachments/20020213/7c8aa2bd/attachment.txt>


More information about the Gdb mailing list