aboutsummaryrefslogtreecommitdiff
path: root/gdb/mi
diff options
context:
space:
mode:
authorNick Roberts <nickrob@snap.net.nz>2007-02-08 19:46:30 +0000
committerNick Roberts <nickrob@snap.net.nz>2007-02-08 19:46:30 +0000
commit224e4ca7428c517fa4e95b1641b6bfa04973b221 (patch)
treec1f86f261ae90e9a3295f15249d614a0a2bc3c2f /gdb/mi
parentee4f0f763c01ccf6a999f3d4ceccc25e9ef1907e (diff)
downloadgdb-224e4ca7428c517fa4e95b1641b6bfa04973b221.zip
gdb-224e4ca7428c517fa4e95b1641b6bfa04973b221.tar.gz
gdb-224e4ca7428c517fa4e95b1641b6bfa04973b221.tar.bz2
* 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.
Diffstat (limited to 'gdb/mi')
-rw-r--r--gdb/mi/mi-cmd-var.c2
1 files changed, 1 insertions, 1 deletions
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;