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]

Re: Problem with multiple threads using gdbserver on x86.


On Mon, Jun 23, 2003 at 08:29:42PM +0530, Ramana Radhakrishnan wrote:
> On Mon, 2003-06-23 at 18:58, Daniel Jacobowitz wrote:
> > I dunno.  Probably just providing a stub for ps_get_thread_area
> > (spelling?) will be enough to make it work.
> there does not seem to be any reference to this function anywhere in the
> gdbserver code that i have. maybe  i have a very old version but the
> source has not changed for the last 12 months or so for the thread-db.c
> file. just checked that on cvs. the error seems to come in
> thread_db_init() and precisely when it tries to find the new threads. 

You will have to look in the source to libthread_db, which is a part of
glibc and in this case NPTL, in order to figure out why this is not
working.

Debugging libthread_db is, in general, a pain in the ass.


-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


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