diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2007-02-08 19:46:30 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2007-02-08 19:46:30 +0000 |
commit | 224e4ca7428c517fa4e95b1641b6bfa04973b221 (patch) | |
tree | c1f86f261ae90e9a3295f15249d614a0a2bc3c2f /gdb/mi | |
parent | ee4f0f763c01ccf6a999f3d4ceccc25e9ef1907e (diff) | |
download | binutils-gdb-224e4ca7428c517fa4e95b1641b6bfa04973b221.tar.gz |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mi/mi-cmd-var.c b/gdb/mi/mi-cmd-var.c index 6d5bec80fc2..2cf9e081fb9 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; |