2003-01-19 Andrew Cagney <ac131313@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Sun, 19 Jan 2003 17:39:16 +0000 (17:39 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 19 Jan 2003 17:39:16 +0000 (17:39 +0000)
commitdbe9fe588fc696a5d74b3a5c3208f2568b9fb7aa
tree2d995d5a3e6b2d1b7fc8ccda1b5cf3b523c8c83e
parentb4fc4eff63f50b61e744a5ad0bdac77e40441739
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* frame-unwind.h (frame_unwind_pop_ftype): Declare.
(struct frame_unwind): Add field pop.
* frame.h (frame_pop): Declare.
* frame.c (frame_saved_regs_pop): New function.
(trad_frame_unwinder): Add frame_saved_regs_pop.
(frame_pop): New function.
* dummy-frame.c (dummy_frame_pop): New function.
(discard_innermost_dummy): New function.
(generic_pop_dummy_frame): Use discard_innermost_dummy.
(dummy_frame_unwind): Add dummy_frame_pop.
* infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
* valops.c (hand_function_call): Ditto.
* stack.c (return_command): Ditto.
gdb/ChangeLog
gdb/dummy-frame.c
gdb/frame-unwind.h
gdb/frame.c
gdb/frame.h
gdb/infrun.c
gdb/stack.c
gdb/valops.c