From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 668 invoked by alias); 19 Nov 2007 11:39:33 -0000 Received: (qmail 656 invoked by uid 22791); 19 Nov 2007 11:39:33 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate8.de.ibm.com (HELO mtagate8.de.ibm.com) (195.212.29.157) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 19 Nov 2007 11:39:31 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate8.de.ibm.com (8.13.8/8.13.8) with ESMTP id lAJBdSaW476668 for ; Mon, 19 Nov 2007 11:39:28 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.6) with ESMTP id lAJBdSeW2842716 for ; Mon, 19 Nov 2007 12:39:28 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id lAJBdRQ7027232 for ; Mon, 19 Nov 2007 12:39:28 +0100 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id lAJBdRFc027229; Mon, 19 Nov 2007 12:39:27 +0100 Message-Id: <200711191139.lAJBdRFc027229@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Mon, 19 Nov 2007 12:39:27 +0100 Subject: Re: [RFA] Stop infrun from tracking breakpoint insertion status. To: vladimir@codesourcery.com (Vladimir Prus) Date: Mon, 19 Nov 2007 11:39:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sources.redhat.com In-Reply-To: <200711181440.50407.vladimir@codesourcery.com> from "Vladimir Prus" at Nov 18, 2007 02:40:50 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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-11/txt/msg00363.txt.bz2 Vladimir Prus wrote: > diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c > index e81ec20..ef55a3d 100644 > --- a/gdb/breakpoint.c > +++ b/gdb/breakpoint.c > @@ -296,6 +296,8 @@ int breakpoint_count; > /* Pointer to current exception event record */ > static struct exception_event_record *current_exception_event; > > +static int breakpoints_meant_to_be_inserted_p; > + > /* This function returns a pointer to the string representation of the > pathname of the dynamically-linked library that has just been > loaded. > @@ -1312,6 +1314,12 @@ remove_breakpoints (void) > } > > int > +breakpoints_meant_to_be_inserted (void) > +{ > + return breakpoints_meant_to_be_inserted_p; > +} > + > +int > remove_hw_watchpoints (void) > { > struct bp_location *b; Is the breakpoints_meant_to_be_inserted_p variable actually ever set to any non-zero value in this patch? Bye, Ulrich