From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id APndMqzvEmBkeAAAWB0awg (envelope-from ) for ; Thu, 28 Jan 2021 12:09:00 -0500 Received: by simark.ca (Postfix, from userid 112) id CB2101EF80; Thu, 28 Jan 2021 12:09:00 -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.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,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 78AE71E945 for ; Thu, 28 Jan 2021 12:09:00 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3203E39B8C9E; Thu, 28 Jan 2021 17:09:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3203E39B8C9E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1611853740; bh=IsLPY9czTgVO7D3rPqHMmbE/V3qKnqxna/sgDEC5IsE=; h=In-Reply-To:References:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=X9xmjLwlY5pdz7bcuYQfukg/L0CewFzJGfUbljV47YESdmBXNG3TYWtD/i8H8SlJQ 3k4+IyY0JyLUA8TCREOjn5485vvP/lT93b879S9yKR9VKZXEbvB2DExlDRMzJ7RnT9 2ZtSyES70BnSr7GbiXLVV75w3SwJovjiWTnU5/nk= Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) by sourceware.org (Postfix) with ESMTPS id 12EE439B8C95 for ; Thu, 28 Jan 2021 17:08:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 12EE439B8C95 Received: by mail-io1-xd35.google.com with SMTP id q129so6336522iod.0 for ; Thu, 28 Jan 2021 09:08:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IsLPY9czTgVO7D3rPqHMmbE/V3qKnqxna/sgDEC5IsE=; b=ka6o7JGjiUztQrvrujuexIy7s16qtoRITciinLZpKrTYtRfV4RPtTmW/dwBB7dL2A6 cH448XZt8L79t2HXTDCPKI6zlgime7CrJWr4kxC/e7PrOZPHF4ZjKLVTZoi4CZmz5oCp OoO5+AmcmoqFe560yCVKA1Yh0dIhTAr7eto7XvZY74B0TzG3KLwMnMfAhXkrU3pYw/uO 7dM9WSqLUhaJHut12u5I/1Ce/b+a8+TanY6CP9iyrm1C9zoBGkDTBOohI+cFJdoR/3R5 L8Dy8tBZFNnm01fuUqWYVMuUL+1Ptraa1w6ChtuTdn8By/ulTltzOSNm39Y4FqmGRTY3 jt3g== X-Gm-Message-State: AOAM533mwKJgOl9F3VZR7Ld44Pwr90n0kLWg92qlOj/WD/foSVHw23KF UbXSvw6y9HMcCjEhHp/4lGovMR8XmY0mYgm85B5lAWwbVsc= X-Google-Smtp-Source: ABdhPJzJ46hVAyq2doMJTDfuD5+ruxyz0rDGYAKpUuup4a9KReNt3uDpUD+1B+WusoozJs0b9UHxAMthUsqUPsw3cRY= X-Received: by 2002:a05:6602:2351:: with SMTP id r17mr416401iot.137.1611853737638; Thu, 28 Jan 2021 09:08:57 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a6b:c88b:0:0:0:0:0 with HTTP; Thu, 28 Jan 2021 09:08:57 -0800 (PST) In-Reply-To: <871re5a1le.fsf@igel.home> References: <871re5a1le.fsf@igel.home> Date: Thu, 28 Jan 2021 11:08:57 -0600 Message-ID: Subject: Re: How to display instructions around the current instuction? To: Andreas Schwab Content-Type: text/plain; charset="UTF-8" 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: , From: Peng Yu via Gdb Reply-To: Peng Yu Cc: Peng Yu via Gdb Errors-To: gdb-bounces@sourceware.org Sender: "Gdb" Hi Andreas, > How do you know where the five instructions start? I don't know. But gdb could figure it out if this feature is available. There could be a syntax to go back a given number of instructions. But it seems that this feature is not available in gdb? -- Regards, Peng