This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: GDB and Thread Problems
- From: dyadav at hss dot hns dot com
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 28 Jun 2002 18:55:39 +0530
- Subject: Re: GDB and Thread Problems
Hi
Thanks for reply.
Is this library avaialable for freebsd .
or GLIBC -suppotrs/compiles freebsd.
Thanks & Regargs
Deepak
Daniel Jacobowitz <drow@mvista.com> on 06/28/2002 06:55:20 PM
To: Deepak Yadav/HSS@HSS
cc: gdb@sources.redhat.com
Subject: Re: GDB and Thread Problems
On Fri, Jun 28, 2002 at 06:40:08PM +0530, dyadav@hss.hns.com wrote:
>
>
>
> Hi
> I am using GDB 5.2, on i386-unknown-freebsd4.2 .
>
> I am trying to debug a thread program ( Use PThread Library).
> but i did not any output in info thread. What is the problem.
>
> (gdb) info threads
> (gdb) thread
> [Current thread is 0 (process 20038)]
> (gdb) thread 1
> Thread ID 1 not known.
> (gdb)
>
> Is it due to as i do not have the libthread_db.so.1 library.
> #define LIBTHREAD_DB_SO "libthread_db.so.1"
Probably. GDB will not debug threads without this (and an unstripped
libpthread.so).
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer