From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29232 invoked by alias); 2 Dec 2008 16:05:09 -0000 Received: (qmail 29221 invoked by uid 22791); 2 Dec 2008 16:05:08 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Dec 2008 16:04:10 +0000 Received: (qmail 24451 invoked from network); 2 Dec 2008 16:04:08 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 2 Dec 2008 16:04:08 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [RFA] Remove redundant resetting of stepping_past_singlestep_breakpoint Date: Tue, 02 Dec 2008 16:05:00 -0000 User-Agent: KMail/1.9.10 Cc: Doug Evans References: <20081202043154.D72E81C7A0B@localhost> In-Reply-To: <20081202043154.D72E81C7A0B@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812021604.44100.pedro@codesourcery.com> 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: 2008-12/txt/msg00039.txt.bz2 On Tuesday 02 December 2008 04:31:54, Doug Evans wrote: > Hi. While researching my prepare_to_proceed problem, I found this > in handle_inferior_event. > > Just above this line: > > stepping_past_singlestep_breakpoint = 0; > > there's this: > > if (stepping_past_singlestep_breakpoint) > { > gdb_assert (singlestep_breakpoints_inserted_p); > gdb_assert (ptid_equal (singlestep_ptid, ecs->ptid)); > gdb_assert (!ptid_equal (singlestep_ptid, saved_singlestep_ptid)); > > stepping_past_singlestep_breakpoint = 0; > > > Ok to check in? OK. > > 2008-12-01 Doug Evans > > * infrun.c (handle_inferior_event): Remove redundant resetting of > stepping_past_singlestep_breakpoint. Kudos for a shorter handle_inferior_event! -- Pedro Alves