* GDB and Thread Problems
@ 2002-06-28 6:13 dyadav
2002-06-28 6:25 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: dyadav @ 2002-06-28 6:13 UTC (permalink / raw)
To: gdb
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"
Please help
Thanks & Regards
Deepak
DISCLAIMER: This message is proprietary to Hughes Software Systems
Limited (HSS) and is intended solely for the use of the individual
to whom it is addressed. It may contain privileged or confidential
information and should not be circulated or used for any purpose other
than for what it is intended. If you have received this message in error,
please notify the originator immediately. If you are not the intended
recipient, you are notified that you are strictly prohibited from using,
copying, altering, or disclosing the contents of this message. HSS accepts
no responsibility for loss or damage arising from the use of the information
transmitted by this email including damage from virus.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GDB and Thread Problems
2002-06-28 6:13 GDB and Thread Problems dyadav
@ 2002-06-28 6:25 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-06-28 6:25 UTC (permalink / raw)
To: dyadav; +Cc: gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GDB and Thread Problems
@ 2002-06-28 6:29 dyadav
2002-06-28 6:31 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: dyadav @ 2002-06-28 6:29 UTC (permalink / raw)
To: Daniel Jacobowitz; +Cc: gdb
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: GDB and Thread Problems
2002-06-28 6:29 dyadav
@ 2002-06-28 6:31 ` Daniel Jacobowitz
0 siblings, 0 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-06-28 6:31 UTC (permalink / raw)
To: dyadav; +Cc: gdb
On Fri, Jun 28, 2002 at 06:55:39PM +0530, dyadav@hss.hns.com wrote:
>
>
>
> Hi
>
> Thanks for reply.
>
> Is this library avaialable for freebsd .
> or GLIBC -suppotrs/compiles freebsd.
No and no as far as I know. I don't know if there is a thread
debugging package for FreeBSD at all.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-28 13:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-28 6:13 GDB and Thread Problems dyadav
2002-06-28 6:25 ` Daniel Jacobowitz
2002-06-28 6:29 dyadav
2002-06-28 6:31 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).