aboutsummaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-22 16:58:08 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-22 16:58:08 +0000
commit8adf9e781b1b67596348ab95877cf6f012ec6a68 (patch)
tree684f11982aa2e0ab919c9e0ed73d4157e363360d /gdb/dummy-frame.c
parent90ba813f1fcbda33d35d1dac4fda91ce26eb12d8 (diff)
downloadgdb-8adf9e781b1b67596348ab95877cf6f012ec6a68.zip
gdb-8adf9e781b1b67596348ab95877cf6f012ec6a68.tar.gz
gdb-8adf9e781b1b67596348ab95877cf6f012ec6a68.tar.bz2
2004-03-22 Andrew Cagney <cagney@redhat.com>
* frame.h (generic_pop_current_frame): Delete declaration. (deprecate_pop_dummy_frame): Deprecate generic_pop_dummy_frame. * dummy-frame.c (deprecated_pop_dummy_frame): Update. (generic_pop_current_frame): Delete function. * mn10300-tdep.c (mn10300_pop_frame): Eliminate call to generic_pop_current_frame. * v850-tdep.c (v850_pop_frame): Update. * mcore-tdep.c (mcore_pop_frame): Update. * sh64-tdep.c (sh64_pop_frame): Update. * h8300-tdep.c (h8300_pop_frame): Update.
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r--gdb/dummy-frame.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 66918b6..2c5153e 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -256,21 +256,6 @@ generic_save_call_dummy_addr (CORE_ADDR lo, CORE_ADDR hi)
dummy_frame_stack->call_hi = hi;
}
-/* Restore the machine state from either the saved dummy stack or a
- real stack frame. */
-
-void
-generic_pop_current_frame (void (*popper) (struct frame_info * frame))
-{
- struct frame_info *frame = get_current_frame ();
- if (get_frame_type (frame) == DUMMY_FRAME)
- /* NOTE: cagney/2002-22-23: Does this ever occure? Surely a dummy
- frame will have already been poped by the "infrun.c" code. */
- generic_pop_dummy_frame ();
- else
- (*popper) (frame);
-}
-
/* Discard the innermost dummy frame from the dummy frame stack
(passed in as a parameter). */
@@ -284,7 +269,7 @@ discard_innermost_dummy (struct dummy_frame **stack)
}
void
-generic_pop_dummy_frame (void)
+deprecated_pop_dummy_frame (void)
{
struct dummy_frame *dummy_frame = dummy_frame_stack;