aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-01-23 20:27:58 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-01-23 20:27:58 +0000
commite23110bbe40aadf0470f3fad1ca3b09e90f4a5ee (patch)
tree27ce8194326ceb3c2f1fd90e56add3579a3f0663 /gdb/mi
parent6db6d2ca956365146cbdc39f1859a326fefc7e4a (diff)
downloadgdb-e23110bbe40aadf0470f3fad1ca3b09e90f4a5ee.zip
gdb-e23110bbe40aadf0470f3fad1ca3b09e90f4a5ee.tar.gz
gdb-e23110bbe40aadf0470f3fad1ca3b09e90f4a5ee.tar.bz2
(mi_cmd_execute): Call free_all_values.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c
index 6005c6f..0122433 100644
--- a/gdb/mi/mi-main.c
+++ b/gdb/mi/mi-main.c
@@ -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)
{