This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: frame_id question
On 11/13/05, Daniel Jacobowitz <drow@false.org> 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.)