From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5598 invoked by alias); 13 Nov 2005 23:34:28 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 5583 invoked by uid 22791); 13 Nov 2005 23:34:26 -0000 Received: from zproxy.gmail.com (HELO zproxy.gmail.com) (64.233.162.200) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 13 Nov 2005 23:34:26 +0000 Received: by zproxy.gmail.com with SMTP id l1so1165495nzf for ; Sun, 13 Nov 2005 15:34:24 -0800 (PST) Received: by 10.37.15.74 with SMTP id s74mr3574432nzi; Sun, 13 Nov 2005 15:34:24 -0800 (PST) Received: by 10.37.2.35 with HTTP; Sun, 13 Nov 2005 15:34:24 -0800 (PST) Message-ID: <8f2776cb0511131534p4af92f9dgdd3fa7ba14cd0b27@mail.gmail.com> Date: Sun, 13 Nov 2005 23:34:00 -0000 From: Jim Blandy To: Vladimir Prus , Jim Blandy , gdb@sources.redhat.com Subject: Re: frame_id question In-Reply-To: <20051113173205.GB1945@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200511111335.18605.ghost@cs.msu.su> <20051113173205.GB1945@nevyn.them.org> X-SW-Source: 2005-11/txt/msg00252.txt.bz2 On 11/13/05, Daniel Jacobowitz wrote: > > > Some functions don't need any stack space at all. Such a function can > > > even call other functions if it moves the return address to a > > > callee-saved register while doing so. > > I was going to reply with that example, but I couldn't convince myself > it was possible. It'll clobber the value previously in that > callee-saved register. However, I know there is a case like this - I > just can't think of it at the moment. You're right. Now I'm not sure it's possible either. (Setting aside dummy frames created by GDB.)