[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gdb 4.17 on solaris 8/intel
From: |
Dave Denholm |
Subject: |
gdb 4.17 on solaris 8/intel |
Date: |
30 Jan 2001 18:25:50 +0000 |
Hi,
not sure if this counts as a bug report or just some feedback,
or I just didn't read all the release notes properly (at all ?)
gdb 4.7 on i386-pc-solaris2.8
config.status contains :
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
./configure --host=i386-pc-solaris2.8 --norecursion
# using "mh-frag"
I was finding that when starting gdb on a threaded program, it said
$ gdb.orig gen/BIN/evmDb
[GDB will not be able to debug user-mode threads: ld.so.1: gdb.orig: fatal: relo
cation error: file /usr/lib/libthread_db.so.1: symbol ps_pstop: referenced symbo
l not found]
GNU gdb 4.17
Copyright 1998 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 "i386-pc-solaris2.8"...
A little poking around / reading of sol-thread.c reveals that ps_pstop
is a symbol exported from gdb for libthread_db.so to call.
But it didn't seem to be exported (nm -D, etc)
relinking with gcc -Wl,-E (export all symbols) seemed to fix the
problem for me - presumably this is overkill, and just exporting the ps_
functions would suffice, but I just wanted to get on...
Built using gcc 2.95.2, which was configured --with-gnu-as --with-gnu-ld
(not sure if you need to know that...)
Hope this is useful - please write back if there's anything else you need to
know.
thanks
dd
--
address@hidden http://www.insignia.com
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- gdb 4.17 on solaris 8/intel,
Dave Denholm <=
- Prev by Date:
B,U.I-L,D. -Y,O.U-R, .C-A,B.L;E. ,D.E;S-C,R.A,M.B,L.E,R..,.,;;.;,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.;;;;.; 1459
- Next by Date:
Great new free mp3 download site 4900
- Previous by thread:
B,U.I-L,D. -Y,O.U-R, .C-A,B.L;E. ,D.E;S-C,R.A,M.B,L.E,R..,.,;;.;,;;;;;;;;;;;;;;;;;;;;;;;;;;;;;.;;;;.; 1459
- Next by thread:
Great new free mp3 download site 4900
- Index(es):