aboutsummaryrefslogtreecommitdiff
path: root/gdb/frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-11-08 23:12:52 +0000
committerAndrew Cagney <cagney@redhat.com>2002-11-08 23:12:52 +0000
commit8779790c2eedc1baa70047c61d1fdcb5033aa0d7 (patch)
tree1cf6e86c3ff1d6057f25f0ad836bd22fa27c58a7 /gdb/frame.c
parent34f524690006a0420cb0edfc5464a9e95a18a130 (diff)
downloadgdb-8779790c2eedc1baa70047c61d1fdcb5033aa0d7.zip
gdb-8779790c2eedc1baa70047c61d1fdcb5033aa0d7.tar.gz
gdb-8779790c2eedc1baa70047c61d1fdcb5033aa0d7.tar.bz2
2002-11-08 Andrew Cagney <ac131313@redhat.com>
* frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind. * dummy-frame.c (find_dummy_frame): Rename generic_find_dummy_frame, make static. Return the dummy frame instead of the regcache. (generic_find_dummy_frame): Re-implement using find_dummy_frame, (cached_find_dummy_frame): New function. Use find_dummy_frame. (dummy_frame_register_unwind): Rename generic_call_dummy_register_unwind. Use cached_find_dummy_frame. * dummy-frame.h (dummy_frame_register_unwind): Rename generic_call_dummy_register_unwind.
Diffstat (limited to 'gdb/frame.c')
-rw-r--r--gdb/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/frame.c b/gdb/frame.c
index c5b355f..9e31ad2 100644
--- a/gdb/frame.c
+++ b/gdb/frame.c
@@ -636,7 +636,7 @@ set_unwind_by_pc (CORE_ADDR pc, CORE_ADDR fp,
return vaguely correct values.. */
*unwind = frame_saved_regs_register_unwind;
else if (PC_IN_CALL_DUMMY (pc, fp, fp))
- *unwind = generic_call_dummy_register_unwind;
+ *unwind = dummy_frame_register_unwind;
else
*unwind = frame_saved_regs_register_unwind;
}