[rfa/ppc] Return the dummy frame's saved pc
Andrew Cagney
ac131313@redhat.com
Tue Sep 24 07:16:00 GMT 2002
Hello,
The attached patch modifies rs6000_frame_saved_pc() so that when:
- a frame didn't save the PC (i.e., link register)
- the next inner most frame is a dummy
the dummy frame's link register is returned.
On a GNU/Linux PPC system (not sure which flavour but gcc is ``2.95.3''
:-), it fixes the following failures:
gdb.base/callfuncs.exp: backtrace after finish from nested call level 3
gdb.base/callfuncs.exp: backtrace after finish from nested call level 4
gdb.base/callfuncs.exp: backtrace at nested call level 2
gdb.base/callfuncs.exp: backtrace at nested call level 3
gdb.base/callfuncs.exp: backtrace at nested call level 4
Ok?
Andrew
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20020924/e0a30c31/attachment.ksh>
More information about the Gdb-patches
mailing list