This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] rs6000-tdep.c: Fix `return' from stop in call dummy
- To: kevinb at cygnus dot com (Kevin Buettner)
- Subject: [PATCH] rs6000-tdep.c: Fix `return' from stop in call dummy
- From: "Peter.Schauer" <Peter dot Schauer at regent dot e-technik dot tu-muenchen dot de>
- Date: Sun, 24 Sep 2000 12:00:54 MET DST
- Cc: gdb-patches at sourceware dot cygnus dot com
Committed.
> > Here is a fix, it will be needed for the upcoming additional callfuncs
> > testcases:
> >
> > * rs6000-tdep.c (rs6000_pop_frame): Use PC_IN_CALL_DUMMY to test
> > for call dummy instead of accessing stop_stack_dummy, which does
> > not work if we `return' from a stop in a call dummy.
> > (rs6000_gdbarch_init): Use generic_save_dummy_frame_tos for
> > dummy_frame_tos function to make PC_IN_CALL_DUMMY work.
>
> Approved. (Thanks.)
>
> Kevin
--
Peter Schauer pes@regent.e-technik.tu-muenchen.de