From: teawater <teawater@gmail.com>
To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [RFA] Output a warning when inferior load in a stripped libpthread.so make multi-thread debug not ok
Date: Wed, 11 Feb 2009 08:43:00 -0000 [thread overview]
Message-ID: <daef60380902110043g33019e3exc6c1e58d77906ec@mail.gmail.com> (raw)
In-Reply-To: <daef60380902110029s15874c26h839aa6224980de11@mail.gmail.com>
It test with Ubuntu-x86 is OK.
On Wed, Feb 11, 2009 at 16:29, teawater <teawater@gmail.com> wrote:
> Hi,
>
> I met a lot of people that have trouble with GDB multithread debug
> just because their libpthread.so is stripped.
> So I make a patch to output a warning when the libpthread.so is stripped.
>
> 2009-02-11 Hui Zhu <teawater@gmail.com>
>
> * linux-thread-db.c (LIBPTHREAD_SO): New macro for
> the name of libpthread.
> (check_for_thread_db): Add a argument "objfile".
> If td_ta_new_p return TD_NOLIBTHREAD
> and "objfile->obfd->filename" include LIBPTHREAD_SO,
> output a warning.
> (thread_db_new_objfile): Add a argument "objfile" to
> "check_for_thread_db".
> * linux-nat.h (check_for_thread_db): Ditto.
> * linux-nat.c (linux_child_post_attach): Ditto.
> (linux_child_post_startup_inferior): Ditto.
> (linux_child_follow_fork): Ditto.
>
>
> OK to in?
>
>
> Thanks,
> Hui
>
prev parent reply other threads:[~2009-02-11 8:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-11 8:29 teawater
2009-02-11 8:43 ` teawater [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=daef60380902110043g33019e3exc6c1e58d77906ec@mail.gmail.com \
--to=teawater@gmail.com \
--cc=gdb-patches@sourceware.org \
/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