From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30109 invoked by alias); 5 Dec 2009 05:58:17 -0000 Received: (qmail 30099 invoked by uid 22791); 5 Dec 2009 05:58:16 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 05 Dec 2009 05:58:10 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id F124A10A34; Sat, 5 Dec 2009 05:58:08 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id D2A9610548; Sat, 5 Dec 2009 05:58:08 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1NGneh-0002JX-Rn; Sat, 05 Dec 2009 00:58:07 -0500 Date: Sat, 05 Dec 2009 05:58:00 -0000 From: Daniel Jacobowitz To: Dave Korn Cc: gdb@sourceware.org Subject: Re: Software-vs-hardware single-step vs. sim/non-sim targets. Message-ID: <20091205055807.GA8871@caradoc.them.org> Mail-Followup-To: Dave Korn , gdb@sourceware.org References: <4B197BC0.5010708@gmail.com> <20091204220825.GA12336@caradoc.them.org> <4B19DC20.907@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B19DC20.907@gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-12/txt/msg00036.txt.bz2 On Sat, Dec 05, 2009 at 04:05:52AM +0000, Dave Korn wrote: > detach/reattach sequence. So in theory it should all be ok if > gdbarch_software_single_step_p() returned different values dynamically, so > long as they're constant during any given run of the inferior. Maybe it would gdbarch_software_single_step_p can be completely inconsistent nowadays; that's how stepping atomic sequences work. You step those but not other instructions. -- Daniel Jacobowitz CodeSourcery