aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
Diffstat (limited to 'gdb')
-rw-r--r--gdb/mi/ChangeLog5
-rw-r--r--gdb/mi/mi-cmd-stack.c4
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 <ezannoni@redhat.com>
+
+ * mi-cmd-stack.c (mi_cmd_stack_select_frame): Remove stray statement.
+ Remove include of gdb-events.h.
+
2002-11-04 Elena Zannoni <ezannoni@redhat.com>
* 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;
}