diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-04-19 17:03:20 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-04-19 17:03:20 +0000 |
commit | 8e91f0232ca9c286299092c896288b8657c9311b (patch) | |
tree | 32908995d006b7370bef473414c7a339a9e9360e /gdb/testsuite/gdb.mi | |
parent | 603ba1de0bfd2aabf369a10ed8a645388e466db8 (diff) | |
download | gdb-8e91f0232ca9c286299092c896288b8657c9311b.zip gdb-8e91f0232ca9c286299092c896288b8657c9311b.tar.gz gdb-8e91f0232ca9c286299092c896288b8657c9311b.tar.bz2 |
* mi/mi-cmd-var.c (varobj_update_one): Print new
value for variable objects that changed type.
Diffstat (limited to 'gdb/testsuite/gdb.mi')
-rw-r--r-- | gdb/testsuite/gdb.mi/var-cmd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.mi/var-cmd.c b/gdb/testsuite/gdb.mi/var-cmd.c index ffc442f..99542cc 100644 --- a/gdb/testsuite/gdb.mi/var-cmd.c +++ b/gdb/testsuite/gdb.mi/var-cmd.c @@ -450,6 +450,13 @@ void do_at_tests () :*/ i += 2.0; } + { + float i = 19; + /*: + mi_gdb_test "-var-update --all-values F" {.*value="19".*} "update F (--all-values)" + :*/ + i += 2.0; + } i++; /*: mi_varobj_update_with_type_change F "int" "0" "update F (3)" |