From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30376 invoked by alias); 22 Jan 2002 15:23:38 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 30343 invoked from network); 22 Jan 2002 15:23:37 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 22 Jan 2002 15:23:37 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 129183F17; Tue, 22 Jan 2002 10:23:37 -0500 (EST) Message-ID: <3C4D83F8.90601@cygnus.com> Date: Tue, 22 Jan 2002 07:23:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Eli Zaretskii Cc: msnyder@redhat.com, fnf@redhat.com, gdb-patches@sources.redhat.com Subject: Re: [RFC] "info registers" is misleading References: <200201220651.g0M6pMe17608@fred.ninemoons.com> <3C4D0FF4.57D1@redhat.com> <8361-Tue22Jan2002124617+0200-eliz@is.elta.co.il> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00691.txt.bz2 > Date: Mon, 21 Jan 2002 23:08:36 -0800 >> From: Michael Snyder >> >> This is an old old issue. The frame pointer register >> is special. Info registers does not show the actual >> value of the fp register -- it shows the virtual frame pointer >> (the address of the function's stack frame). Usually >> it's the same value -- unles you're in a frameless function >> (ie. one that does not use the frame pointer register). > > > Shouldn't we document this? I can write up the change, if you tell > me that the above description is all that there is to it. It is :-) Per gdb/251, the doco gets it right! It is GDB that is getting it wrong :-( Andrew