From 224e4ca7428c517fa4e95b1641b6bfa04973b221 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Thu, 8 Feb 2007 19:46:30 +0000 Subject: * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. * gdb.mi/mi-var-block.exp, gdb.mi/mi2-var-block.exp * gdb.mi/mi-var-child.exp, gdb.mi/mi2-var-child.exp * gdb.mi/mi-var-child-f.exp, gdb.mi/mi-var-cmd.exp * gdb.mi/mi2-var-cmd.exp, gdb.mi/mi-var-display.exp * gdb.mi/mi2-var-display.exp, gdb.mi/gdb701.exp * gdb.mi/gdb792.exp, gdb.mi/gdb792.exp * lib/mi-support.exp: Update tests to include value field in output of -var-create. --- gdb/mi/mi-cmd-var.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/mi/mi-cmd-var.c') diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c index 6d5bec8..2cf9e08 100644 --- a/gdb/mi/mi-cmd-var.c +++ b/gdb/mi/mi-cmd-var.c @@ -125,7 +125,7 @@ mi_cmd_var_create (char *command, char **argv, int argc) if (var == NULL) error (_("mi_cmd_var_create: unable to create variable object")); - print_varobj (var, PRINT_NO_VALUES, 0 /* don't print expression */); + print_varobj (var, PRINT_ALL_VALUES, 0 /* don't print expression */); do_cleanups (old_cleanups); return MI_CMD_DONE; -- cgit v1.1