From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17675 invoked by alias); 17 Oct 2008 15:05:13 -0000 Received: (qmail 17655 invoked by uid 22791); 17 Oct 2008 15: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.31) with ESMTP; Fri, 17 Oct 2008 15:04:31 +0000 Received: (qmail 9747 invoked from network); 17 Oct 2008 15:04:29 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 17 Oct 2008 15:04:29 -0000 From: Pedro Alves To: gdb-patches@sourceware.org, Eli Zaretskii , Daniel Jacobowitz Subject: Re: [RFA] Displaced stepping just enable in non-stop mode Date: Fri, 17 Oct 2008 15:05:00 -0000 User-Agent: KMail/1.9.9 Cc: teawater , msnyder@vmware.com, brobecker@adacore.com References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810171604.27792.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-10/txt/msg00432.txt.bz2 On Friday 17 October 2008 11:01:12, Eli Zaretskii wrote: > > Date: Fri, 17 Oct 2008 13:45:36 +0800 > > From: teawater > > Cc: "Eli Zaretskii" , pedro@codesourcery.com, > > gdb-patches@sourceware.org, brobecker@adacore.com > > > > How about "set step displace" > > > > I think "displace" is clear. > > It isn't clear to me. "Displace" means simply "move forcefully". > What is actually being moved here is the breakpoint instruction, but > "set step displace" includes no hints for that. > > Maybe "set displace-break-insn" or some such. I've thought a bit about the "set step ..." suggestion, and I remembered Michael's "set/show enable-software-singlestep" command, that could also fit there. So, I guess we could have: For displaced stepping: set step over-breakpoint auto (on if there's gdbarch + nonstop support) set step over-breakpoint displaced/ool/out-of-line set step over-breakpoint step-and-hold (or shorter versions) set step breakpoint out-of-line set step over-breakpoint ool set step breakpoint ool For soft/hard single-stepping: set step single-step auto set step single-step hard set step single-step soft Or shorter versions: set step single hard set step single soft ... -- Pedro Alves