From e23110bbe40aadf0470f3fad1ca3b09e90f4a5ee Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Tue, 23 Jan 2007 20:27:58 +0000 Subject: [PATCH] (mi_cmd_execute): Call free_all_values. --- gdb/mi/mi-main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gdb/mi/mi-main.c b/gdb/mi/mi-main.c index 6005c6fa7db..012243318df 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) { -- 2.30.2