[RFC/hppa] Change handling of stubs in the return path

Randolph Chung randolph@tausq.org
Mon Dec 6 23:37:00 GMT 2004


> Does this work OK when single stepping out of something, i.e. back into
> a stub?

when you step out of a function that was called with a stub, you end up 
back at the caller, not the stub. is that what you mean? (when we step
into the stub, gdb detects that it is in a solib return trampoline and
runs the inferior until it is out of the trampoline). that part is not
really affected by this patch though.

> > +static void
> > +hppa_hpux_unwind_adjust_stub(struct frame_info *next_frame, CORE_ADDR base,
> > +			     struct trad_frame_saved_reg *saved_regs)
> 
> Formatting ;-)

sorry, the original version is ok, but i did some manual editting of the
file with vim that had expandtab set...

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/



More information about the Gdb-patches mailing list