From: Kevin Buettner <kevinb@redhat.com>
To: "debashis mahata" <debashis.mahata@wipro.com>, <gdb@sources.redhat.com>
Subject: Re: How to use linux-thread.c
Date: Sat, 02 Feb 2002 07:12:00 -0000 [thread overview]
Message-ID: <1020202151133.ZM1483@localhost.localdomain> (raw)
In-Reply-To: "debashis mahata" <debashis.mahata@wipro.com> "How to use linux-thread.c" (Feb 2, 7:59pm)
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
prev parent reply other threads:[~2002-02-02 15:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-02 6:31 debashis mahata
2002-02-02 7:12 ` Kevin Buettner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1020202151133.ZM1483@localhost.localdomain \
--to=kevinb@redhat.com \
--cc=debashis.mahata@wipro.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox