frame_id question
Jim Blandy
jimb@red-bean.com
Sun Nov 13 23:34:00 GMT 2005
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.)
More information about the Gdb
mailing list