From: Daniel Jacobowitz <drow@false.org>
To: Paul Pluzhnikov <ppluzhnikov@google.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Fix for PR gdb/10838
Date: Thu, 12 Nov 2009 00:43:00 -0000 [thread overview]
Message-ID: <20091112004255.GA26101@caradoc.them.org> (raw)
In-Reply-To: <20091112003504.29C4876D6F@ppluzhnikov.mtv.corp.google.com>
On Wed, Nov 11, 2009 at 04:35:03PM -0800, Paul Pluzhnikov wrote:
> Greetings,
>
> In http://sourceware.org/bugzilla/show_bug.cgi?id=10838
> gdb attach; detach; attach sequence leaves libpthread in hosed state.
>
> The root cause turned out to be that this:
>
> td_event_emptyset (&events);
> info->td_ta_set_event_p (info->thread_agent, &events);
>
> is a no-op -- glibc ORs new event bits in, but doesn't clear any already
> set bits. To clear them, one must call td_ta_clear_event() instead.
>
> Here is a patch which fixes this in gdb and gdbserver.
>
> Tested (GDB only) on Linux/x86_64 with no regressions.
OK, thanks.
--
Daniel Jacobowitz
CodeSourcery
next prev parent reply other threads:[~2009-11-12 0:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-12 0:35 Paul Pluzhnikov
2009-11-12 0:43 ` Daniel Jacobowitz [this message]
2009-11-12 0:48 ` Paul Pluzhnikov
2009-11-14 2:04 ` Paul Pluzhnikov
2009-11-15 17:37 ` Daniel Jacobowitz
2009-11-15 17:43 ` Doug Evans
2009-11-15 17:47 ` Daniel Jacobowitz
2009-11-16 15:11 ` Pedro Alves
2009-11-16 15:14 ` Pedro Alves
2009-11-16 16:05 ` Paul Pluzhnikov
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=20091112004255.GA26101@caradoc.them.org \
--to=drow@false.org \
--cc=gdb-patches@sourceware.org \
--cc=ppluzhnikov@google.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