From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26367 invoked by alias); 11 Jan 2002 16:15:15 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26293 invoked from network); 11 Jan 2002 16:15:07 -0000 Received: from unknown (HELO cerbere.u-strasbg.fr) (130.79.112.7) by sources.redhat.com with SMTP; 11 Jan 2002 16:15:07 -0000 Received: from laocoon (laocoon.u-strasbg.fr [130.79.112.72]) by cerbere.u-strasbg.fr (8.9.3/8.8.7) with ESMTP id RAA00959; Fri, 11 Jan 2002 17:14:44 +0100 Message-Id: <4.2.0.58.20020111170518.020b3178@ics.u-strasbg.fr> X-Sender: muller@ics.u-strasbg.fr X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 Date: Fri, 11 Jan 2002 08:15:00 -0000 To: Eli Zaretskii From: Pierre Muller Subject: Re: [RFA/RFC 2] Remove hardware break and watchpoints at program exit. Cc: kettenis@science.uva.nl, gdb-patches@sources.redhat.com In-Reply-To: <7704-Fri11Jan2002160358+0200-eliz@is.elta.co.il> References: <4.2.0.58.20020111143044.019c7e50@ics.u-strasbg.fr> <4.2.0.58.20020111125745.0135ea48@ics.u-strasbg.fr> <4.2.0.58.20020111125745.0135ea48@ics.u-strasbg.fr> <4.2.0.58.20020111143044.019c7e50@ics.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-SW-Source: 2002-01/txt/msg00292.txt.bz2 At 15:03 11/01/2002 , Eli Zaretskii a écrit: > > Date: Fri, 11 Jan 2002 14:38:40 +0100 > > From: Pierre Muller > > > > The code does already generate a claim for i386 linux: > > the linux code tries to write the dr registers using ptrace > > but as the process is already finished, this fails. > > See i386-linux-nt.c line 741. > >Why does the Linux port try to do that after the debuggee has died? There was no problem before my patch, because before my patch, remove_breakpoint was never called for a dead debuggee. So its just that the code was not adapted to my change... Anyway this is no big deal, I will try to send a new patch handling this very soon. Pierre Muller Institut Charles Sadron 6,rue Boussingault F 67083 STRASBOURG CEDEX (France) mailto:muller@ics.u-strasbg.fr Phone : (33)-3-88-41-40-07 Fax : (33)-3-88-41-40-99