From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +M8DL3Z6EmDhZwAAWB0awg (envelope-from ) for ; Thu, 28 Jan 2021 03:48:54 -0500 Received: by simark.ca (Postfix, from userid 112) id BE6EC1EF80; Thu, 28 Jan 2021 03:48:54 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=MAILING_LIST_MULTI,RDNS_NONE, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id C77101E590 for ; Thu, 28 Jan 2021 03:48:53 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id A8A3B398D04F; Thu, 28 Jan 2021 08:48:52 +0000 (GMT) Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) by sourceware.org (Postfix) with ESMTPS id 0EEF23857C70 for ; Thu, 28 Jan 2021 08:48:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0EEF23857C70 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=whitebox@nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4DRDf71vkzz1s00C; Thu, 28 Jan 2021 09:48:47 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DRDf71dzGz1qqkG; Thu, 28 Jan 2021 09:48:47 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id wPht9EiLPSSu; Thu, 28 Jan 2021 09:48:46 +0100 (CET) X-Auth-Info: JFpvw8GQ5U5rjBmg/kmmyIpWTy7mD+XtZEv7SOLCLZHQ4cbT7y+GKRtIf9IWYJyC Received: from igel.home (ppp-46-244-185-149.dynamic.mnet-online.de [46.244.185.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 28 Jan 2021 09:48:46 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 037D32C32AC; Thu, 28 Jan 2021 09:48:45 +0100 (CET) From: Andreas Schwab To: Peng Yu via Gdb Subject: Re: How to display instructions around the current instuction? References: X-Yow: .. ich bin in einem dusenjet ins jahr 53 vor chr... ich lande im antiken Rom... einige gladiatoren spielen scrabble... ich rieche PIZZA... Date: Thu, 28 Jan 2021 09:48:45 +0100 In-Reply-To: (Peng Yu via Gdb's message of "Wed, 27 Jan 2021 17:12:59 -0600") Message-ID: <871re5a1le.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" On Jan 27 2021, Peng Yu via Gdb wrote: > The following command will disply instructions below the current > instructions. Is there a way to display around the current instruction > (e.g., 5 instructions above and 5 instructions below)? How do you know where the five instructions start? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."