]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-11-05 Elena Zannoni <ezannoni@redhat.com> kseitz_interps-20020528-branch
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 5 Nov 2002 23:04:17 +0000 (23:04 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 5 Nov 2002 23:04:17 +0000 (23:04 +0000)
        * mi-cmd-stack.c (mi_cmd_stack_select_frame): Remove stray statement.
        Remove include of gdb-events.h.

gdb/mi/ChangeLog
gdb/mi/mi-cmd-stack.c

index 7936774b2c6c6abf79e5d4b2fd5e1a2a8399060a..0d184ccc971db486f5d6b9ba0d159ef9330d51de 100644 (file)
@@ -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
index a4cea3e9aaeba099095a4add797c8626c6c92c21..74cb126af802b87c4a176e1b2147fd0d85edc26f 100644 (file)
@@ -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;
 }