* How to use linux-thread.c
@ 2002-02-02 6:31 debashis mahata
2002-02-02 7:12 ` Kevin Buettner
0 siblings, 1 reply; 2+ messages in thread
From: debashis mahata @ 2002-02-02 6:31 UTC (permalink / raw)
To: gdb
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
Hi all,
I am using a i386 Linux system. I am currently using gdb 5.1.1 for
debugging.
Without using libthread_db.so.1, can I debug a multi-threaded program ?
Is there any way to disable the use of libthread_db.so.1 through initial
configuration?
I can see 3 thread specific files in gdb-5.1.1 for linux - lin-thread.c,
lin-lwp.c, linux-thread.c. Is there any documentation on the specific
usage of each of these files - like when to use which file ?
Thanks in advance,
debashis
[-- Attachment #2: InterScan_Disclaimer.txt --]
[-- Type: text/plain, Size: 481 bytes --]
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.
********************************************************************
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: How to use linux-thread.c
2002-02-02 6:31 How to use linux-thread.c debashis mahata
@ 2002-02-02 7:12 ` Kevin Buettner
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Buettner @ 2002-02-02 7:12 UTC (permalink / raw)
To: debashis mahata, gdb
On Feb 2, 7:59pm, debashis mahata wrote:
> I am using a i386 Linux system. I am currently using gdb 5.1.1 for
> debugging.
>
> Without using libthread_db.so.1, can I debug a multi-threaded program ?
>
> Is there any way to disable the use of libthread_db.so.1 through initial
> configuration?
I don't know whether or not it'll work, but you might try removing
thread-db.o (and also perhaps proc-service.o) from the NATDEPFILES
line in config/i386/linux.mh. This will leave you with just the LWP
layer.
> I can see 3 thread specific files in gdb-5.1.1 for linux - lin-thread.c,
> lin-lwp.c, linux-thread.c. Is there any documentation on the specific
> usage of each of these files - like when to use which file ?
lin-thread.c and linux-thread.c are deprecated (and should be made
obsolete). You should be using lin-lwp.c, thread-db.c, and
proc-service.c for thread debugging now. (As noted above, it may
be the case that the lwp layer will work by itself, but I haven't
tried it recently on linux...)
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-02-02 15:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-02 6:31 How to use linux-thread.c debashis mahata
2002-02-02 7:12 ` Kevin Buettner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox