From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26819 invoked by alias); 2 Feb 2006 02:30:06 -0000 Received: (qmail 26751 invoked by uid 22791); 2 Feb 2006 02:30:05 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 02 Feb 2006 02:30:03 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1F4UES-0005PK-Sh; Wed, 01 Feb 2006 21:30:00 -0500 Date: Thu, 02 Feb 2006 02:30:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Cc: Andrew STUBBS Subject: Re: [PATCH] Disable thread specific breakpoints when thread dies Message-ID: <20060202023000.GE19694@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org, Andrew STUBBS 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060120224115.GB16076@nevyn.them.org> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00022.txt.bz2 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 > > * 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