From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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> From: Peng Yu Date: Thu, 28 Jan 2021 11:08:57 -0600 Message-ID: Subject: Re: How to display instructions around the current instuction? To: Andreas Schwab Cc: Peng Yu via Gdb Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Thu, 28 Jan 2021 17:08:59 -0000 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