* mi-cmd-stack.c (mi_cmd_stack_select_frame): Remove stray statement.
Remove include of gdb-events.h.
+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
#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
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.");
select_frame_command_wrapper (0, 1 /* not used */ );
else
select_frame_command_wrapper (argv[0], 1 /* not used */ );
-
return MI_CMD_DONE;
}