From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9225 invoked by alias); 22 Jun 2007 12:59:38 -0000 Received: (qmail 9214 invoked by uid 22791); 22 Jun 2007 12:59:37 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 22 Jun 2007 12:59:35 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 9988C98301; Fri, 22 Jun 2007 12:59:33 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 7851F982F0; Fri, 22 Jun 2007 12:59:31 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.67) (envelope-from ) id 1I1ijq-0002Xc-IS; Fri, 22 Jun 2007 08:59:46 -0400 Date: Fri, 22 Jun 2007 12:59:00 -0000 From: Daniel Jacobowitz To: Ulrich Weigand Cc: gdb-patches@sourceware.org Subject: Re: [rfc] Fix infrun.c fall-out from the software single-step logic change Message-ID: <20070622125946.GA9750@caradoc.them.org> Mail-Followup-To: Ulrich Weigand , gdb-patches@sourceware.org References: <200706210011.l5L0B4Dv007025@d12av02.megacenter.de.ibm.com> <200706221255.l5MCtWBG029939@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200706221255.l5MCtWBG029939@d12av02.megacenter.de.ibm.com> User-Agent: Mutt/1.5.15 (2007-04-09) 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-06/txt/msg00424.txt.bz2 On Fri, Jun 22, 2007 at 02:55:32PM +0200, Ulrich Weigand wrote: > > > * infrun.c (adjust_pc_after_break): Do not assume software single-step > > is always active if SOFTWARE_SINGLE_STEP_P is true. > > (resume): Use gdbarch_software_single_step[_p] instead of > > SOFTWARE_SINGLE_STEP[_P]. > > (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. > > > > * gdbarch.sh (software_single_step): Remove target macro. > > * gdbarch.h, gdbarch.c: Regenerate. > > I've committed this as well. Thanks - it looked right to me, but I forgot to send the mail. -- Daniel Jacobowitz CodeSourcery