Unwinding dummy frames on the i386

Andrew Cagney ac131313@redhat.com
Fri Mar 7 22:13:00 GMT 2003


> For now I've worked around this by having my own do-nothing
> i386_save_dummy_frame_tos(), and having i386_unwind_dummy_id() return
> contents of the (saved) frame pointer register for the frame's base.
> Is there a better way to solve this?

Can i386_save_dummy_frame_tos() save the `frame pointer register' that 
the unwind_dummy_id() method later returns?

While the TOS in save_dummy_frame_tos() might have once stood for 
top-of-stack, there isn't anything saying that it has to be the stack 
top.  A better name for tha functioin's successor would be 
save_dummy_frame_id()

Andrew




More information about the Gdb mailing list