summaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-01-14 00:07:43 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-01-14 00:07:43 +0000
commit513247ff95c46c3568291697dd823f0b13cdd555 (patch)
tree04ecfb09e9781000d217fd67dbca51879aa78535 /gdb/mi
parent07d791e3183dbb31365c3c140bea393712c1552f (diff)
downloadgdb-513247ff95c46c3568291697dd823f0b13cdd555.tar.gz
2003-01-13 Elena Zannoni <ezannoni@redhat.com>
* stack.c (print_frame_info, print_stack_frame_base_stub, print_stack_frame_base, show_and_print_stack_frame_stub, show_and_print_stack_frame, print_only_stack_frame_stub, print_only_stack_frame): Delete functions. (print_stack_frame_stub): Call print_frame_info instead of print_frame_info_base. (print_frame_info_base): Rename to print_frame_info. (backtrace_command_1): Call print_frame_info, instead of print_frame_info_base. (current_frame_command): Call print_stack_frame, instead of print_only_stack_frame. (frame_command): Call print_stack_frame, instead of show_and_print_stack_frame. (up_command): Ditto. (down_command): Ditto. * frame.h (print_only_stack_frame): Delete prototype. * infrun.c (normal_stop): Call print_stack_frame, instead of show_and_print_stack_frame. * thread.c (info_threads_command): Call print_stack_frame, instead of print_only_stack_frame. 2003-01-13 Elena Zannoni <ezannoni@redhat.com> * mi-main.c (mi_cmd_exec_return): Use print_stack_frame instead of show_and_print_stack_frame.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/ChangeLog5
-rw-r--r--gdb/mi/mi-main.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog
index 7bc2ce8c3e2..952006d4ccd 100644
--- a/gdb/mi/ChangeLog
+++ b/gdb/mi/ChangeLog
@@ -1,3 +1,8 @@
+2003-01-13 Elena Zannoni <ezannoni@redhat.com>
+
+ * mi-main.c (mi_cmd_exec_return): Use print_stack_frame instead of
+ show_and_print_stack_frame.
+
2003-01-09 Andrew Cagney <ac131313@redhat.com>
* mi-cmd-env.c: Include "gdb_string.h" instead of <string.h>.
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 536e8a5b054..96030b71ab6 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -1,5 +1,5 @@
/* MI Command Set.
- Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
+ Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
Contributed by Cygnus Solutions (a Red Hat company).
This file is part of GDB.
@@ -183,9 +183,9 @@ mi_cmd_exec_return (char *args, int from_tty)
/* Because we have called return_command with from_tty = 0, we need
to print the frame here. */
- show_and_print_stack_frame (deprecated_selected_frame,
- frame_relative_level (deprecated_selected_frame),
- LOC_AND_ADDRESS);
+ print_stack_frame (deprecated_selected_frame,
+ frame_relative_level (deprecated_selected_frame),
+ LOC_AND_ADDRESS);
return MI_CMD_DONE;
}