(mi_cmd_execute): Call free_all_values.
authorNick Roberts <nickrob@snap.net.nz>
Tue, 23 Jan 2007 20:27:58 +0000 (20:27 +0000)
committerNick Roberts <nickrob@snap.net.nz>
Tue, 23 Jan 2007 20:27:58 +0000 (20:27 +0000)
gdb/mi/mi-main.c

index 6005c6fa7db5c054e38882d4e1b0e9bf90f27aa8..012243318dfe03ebb4c24c3654876d2a6351fc67 100644 (file)
@@ -1191,6 +1191,8 @@ mi_execute_command (char *cmd, int from_tty)
 static enum mi_cmd_result
 mi_cmd_execute (struct mi_parse *parse)
 {
+  free_all_values ();
+
   if (parse->cmd->argv_func != NULL
       || parse->cmd->args_func != NULL)
     {