mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* 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:
@ -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;
|
||||
|
Reference in New Issue
Block a user