2002-11-24 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 24 Nov 2002 15:06:08 +0000 (15:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 24 Nov 2002 15:06:08 +0000 (15:06 +0000)
commit5e0f933e908cdbdec03ad7b7a575d645912b9194
treeda44d14e03d31c728cd0e26c21953c450bf12f1b
parent7d8547c9602def946b932d1416593b8c44456d65
2002-11-24  Andrew Cagney  <ac131313@redhat.com>

* dummy-frame.c (pc_in_dummy_frame): New function.
(generic_pc_in_call_dummy): Call pc_in_dummy_frame.
(find_dummy_frame): Update comment.
(generic_pop_current_frame): Use get_frame_type.
* dummy-frame.h (pc_in_dummy_frame): Declare.
* frame.c (set_unwind_by_pc): Use pc_in_dummy_frame.
(create_new_frame): Use pc_in_dummy_frame.
(get_prev_frame): Use pc_in_dummy_frame.
(frame_saved_regs_register_unwind): Use get_prev_frame.
(deprecated_generic_get_saved_register): Use get_prev_frame.
gdb/ChangeLog
gdb/dummy-frame.c
gdb/dummy-frame.h
gdb/frame.c