2002-11-08 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 8 Nov 2002 23:12:52 +0000 (23:12 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 8 Nov 2002 23:12:52 +0000 (23:12 +0000)
commit8779790c2eedc1baa70047c61d1fdcb5033aa0d7
tree1cf6e86c3ff1d6057f25f0ad836bd22fa27c58a7
parent34f524690006a0420cb0edfc5464a9e95a18a130
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.
gdb/ChangeLog
gdb/dummy-frame.c
gdb/dummy-frame.h
gdb/frame.c