From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22873 invoked by alias); 29 Oct 2011 18:04:58 -0000 Received: (qmail 22857 invoked by uid 22791); 29 Oct 2011 18:04:57 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 29 Oct 2011 18:04:37 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 6C95A1C1DA1C; Sat, 29 Oct 2011 20:04:36 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id 5C0F41C0015C; Sat, 29 Oct 2011 20:04:36 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id Z-BAHAwJSF4P; Sat, 29 Oct 2011 20:04:35 +0200 (CEST) Received: from igel.home (ppp-88-217-108-218.dynamic.mnet-online.de [88.217.108.218]) by mail.mnet-online.de (Postfix) with ESMTP; Sat, 29 Oct 2011 20:04:35 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 1974FCA29C; Sat, 29 Oct 2011 20:04:35 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Cc: gdb@sourceware.org Subject: Re: Specify frame by address References: <83k47n90xn.fsf@gnu.org> X-Yow: I smell like a wet reducing clinic on Columbus Day! Date: Sat, 29 Oct 2011 18:43:00 -0000 In-Reply-To: <83k47n90xn.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 29 Oct 2011 19:12:36 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: 2011-10/txt/msg00219.txt.bz2 Eli Zaretskii writes: > Both the doc string of the "frame" command and the manual say that it > accepts frame specification by address: > > (gdb) help frame > Select and print a stack frame. > With no argument, print the selected stack frame. (See also "info frame"). > An argument specifies the frame to select. > It can be a stack frame number or the address of the frame. <<<<<<<<<< > With argument, nothing is printed if input is coming from > a command file or a user-defined command. > > But what is "the address of the frame"? What info frame would display (typically the stack pointer on entry). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."