aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-03-18 23:04:45 +0000
committerAndrew Cagney <cagney@redhat.com>2004-03-18 23:04:45 +0000
commit292ab03412a2a1d1995706ba55e9fab006dc5c71 (patch)
treed01f9da84045363f1183b0d4daf377d36fba1ef3 /gdb
parentf218a464b274fb6090a0d3f70870bb1bf8c2f146 (diff)
downloadfsf-binutils-gdb-292ab03412a2a1d1995706ba55e9fab006dc5c71.zip
fsf-binutils-gdb-292ab03412a2a1d1995706ba55e9fab006dc5c71.tar.gz
fsf-binutils-gdb-292ab03412a2a1d1995706ba55e9fab006dc5c71.tar.bz2
2004-03-18 Andrew Cagney <cagney@redhat.com>
* stack.c (return_command): Delete code wrapped in #ifdef DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/stack.c12
2 files changed, 3 insertions, 12 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 43ad2f8..defcfaa 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2004-03-18 Andrew Cagney <cagney@redhat.com>
+ * stack.c (return_command): Delete code wrapped in #ifdef
+ DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
+
* rs6000-tdep.c (skip_prologue): Record only the first LR save.
2004-03-18 Andrew Cagney <cagney@redhat.com>
diff --git a/gdb/stack.c b/gdb/stack.c
index 18d9a7c..93e36b5 100644
--- a/gdb/stack.c
+++ b/gdb/stack.c
@@ -1947,20 +1947,8 @@ If you continue, the return value that you specified will be ignored.\n";
/* If we are at the end of a call dummy now, pop the dummy frame
too. */
- /* NOTE: cagney/2003-01-18: Is this silly? Instead of popping all
- the frames in sequence, should this code just pop the dummy frame
- directly? */
-#ifdef DEPRECATED_CALL_DUMMY_HAS_COMPLETED
- /* Since all up-to-date architectures return direct to the dummy
- breakpoint address, a dummy frame has, by definition, always
- completed. Hence this method is no longer needed. */
- if (DEPRECATED_CALL_DUMMY_HAS_COMPLETED (read_pc(), read_sp (),
- get_frame_base (get_current_frame ())))
- frame_pop (get_current_frame ());
-#else
if (get_frame_type (get_current_frame ()) == DUMMY_FRAME)
frame_pop (get_current_frame ());
-#endif
/* If interactive, print the frame that is now current. */
if (from_tty)