From efddd4d6196b01970865b11e353cd1b19e0f61fc Mon Sep 17 00:00:00 2001 From: Elena Zannoni Date: Tue, 5 Nov 2002 23:04:17 +0000 Subject: 2002-11-05 Elena Zannoni * mi-cmd-stack.c (mi_cmd_stack_select_frame): Remove stray statement. Remove include of gdb-events.h. --- gdb/mi/ChangeLog | 5 +++++ gdb/mi/mi-cmd-stack.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/mi/ChangeLog b/gdb/mi/ChangeLog index 7936774..0d184cc 100644 --- a/gdb/mi/ChangeLog +++ b/gdb/mi/ChangeLog @@ -1,3 +1,8 @@ +2002-11-05 Elena Zannoni + + * mi-cmd-stack.c (mi_cmd_stack_select_frame): Remove stray statement. + Remove include of gdb-events.h. + 2002-11-04 Elena Zannoni * mi.h: Clean up interface, removing unnecessarily exported diff --git a/gdb/mi/mi-cmd-stack.c b/gdb/mi/mi-cmd-stack.c index a4cea3e..74cb126 100644 --- a/gdb/mi/mi-cmd-stack.c +++ b/gdb/mi/mi-cmd-stack.c @@ -26,7 +26,6 @@ #include "mi-cmds.h" #include "ui-out.h" #include "symtab.h" -#include "gdb-events.h" /* FIXME: these should go in some .h file but stack.c doesn't have a corresponding .h file. These wrappers will be obsolete anyway, once @@ -301,8 +300,6 @@ list_args_or_locals (int locals, int values, struct frame_info *fi) enum mi_cmd_result mi_cmd_stack_select_frame (char *command, char **argv, int argc) { - int current_level = frame_relative_level (selected_frame); - if (!target_has_stack) error ("mi_cmd_stack_select_frame: No stack."); @@ -314,6 +311,5 @@ mi_cmd_stack_select_frame (char *command, char **argv, int argc) select_frame_command_wrapper (0, 1 /* not used */ ); else select_frame_command_wrapper (argv[0], 1 /* not used */ ); - return MI_CMD_DONE; } -- cgit v1.1