This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Disable thread specific breakpoints when thread dies
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Cc: Andrew STUBBS <andrew dot stubbs at st dot com>
- Date: Wed, 1 Feb 2006 21:30:00 -0500
- Subject: Re: [PATCH] Disable thread specific breakpoints when thread dies
- References: <437A19DE.6040905@st.com> <437B47A1.4040705@st.com> <20051117034811.GB3057@nevyn.them.org> <437CA66B.9060201@st.com> <20060112162659.GA16141@nevyn.them.org> <43C7E466.9080703@st.com> <20060114160611.GA12603@nevyn.them.org> <43CB97A2.20205@st.com> <43CBC6EB.9080904@st.com> <20060120224115.GB16076@nevyn.them.org>
On Fri, Jan 20, 2006 at 05:41:15PM -0500, Daniel Jacobowitz wrote:
> Any comments? Does this work for you? It does seem to avoid inserting
> the breakpoint unnecessarily, as I'd expect.
> 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com>
>
> * linux-nat.c (struct saved_ptids, threads_to_delete)
> (record_dead_thread, prune_lwps, find_thread_from_lwp)
> (exit_lwp): New.
> (linux_nat_resume): Call prune_lwps.
> (wait_lwp, linux_nat_wait): Call exit_lwp.
There weren't any comments; I've checked this in.
--
Daniel Jacobowitz
CodeSourcery