* 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.
This commit is contained in:
parent
ee4f0f763c
commit
224e4ca742
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue