From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27114 invoked by alias); 13 Apr 2007 13:40:15 -0000 Received: (qmail 27056 invoked by uid 22791); 13 Apr 2007 13:40:14 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 13 Apr 2007 14:40:03 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 341A26D481E; Fri, 13 Apr 2007 15:40:00 +0200 (CEST) Date: Fri, 13 Apr 2007 13:40:00 -0000 From: Corinna Vinschen To: gdb-patches@sourceware.org Subject: Re: [Cygwin] Fix for: detaching crashes the inferior. Message-ID: <20070413134000.GJ15801@calimero.vinschen.de> Reply-To: gdb-patches@sourceware.org Mail-Followup-To: gdb-patches@sourceware.org References: <4618D3F7.3040700@portugalmail.pt> <4619748C.5080007@portugalmail.pt> <46199F9C.1060803@portugalmail.pt> <20070410051535.GA11134@ednor.casa.cgf.cx> <461C0415.6060404@portugalmail.pt> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <461C0415.6060404@portugalmail.pt> User-Agent: Mutt/1.4.2.2i X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00194.txt.bz2 On Apr 10 22:39, Pedro Alves wrote: > > >>Pedro Alves wrote: > >> > >>The current code uses delete_command to remove breakpoints, but > >>that leaves the internal breakpoints behind - not something > >>we want. Is there a case where we can get to to_detach > >>without remove_breakpoints being called? I don't think there > >>is - we always get here through normal_stop, right? > >>If there isn't, I'll just remove the call to it I'm > >>introducing in the patch. > >> > > Here is the updated patch that removes the call to delete_command. > > OK? Ok with me, but Chris has the final word. Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat