diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2008-04-13 09:33:49 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2008-04-13 09:33:49 +0000 |
commit | fcacd99f87bf1f39ba0b3fde4a71b2876c20bd70 (patch) | |
tree | 75fab46541391f348714e21c53206075958367ae /gdb/testsuite/gdb.mi/mi2-var-cmd.exp | |
parent | 350fc95b2b48a859478efc3ba0ba99c56e7971aa (diff) | |
download | gdb-fcacd99f87bf1f39ba0b3fde4a71b2876c20bd70.zip gdb-fcacd99f87bf1f39ba0b3fde4a71b2876c20bd70.tar.gz gdb-fcacd99f87bf1f39ba0b3fde4a71b2876c20bd70.tar.bz2 |
Fix @-varobjs.
* varobj.c (value_of_root): Update the expression for
floating varobjs.
* mi/mi-cmd-var.c (varobj_update_one): If type has changed,
report that.
Diffstat (limited to 'gdb/testsuite/gdb.mi/mi2-var-cmd.exp')
-rw-r--r-- | gdb/testsuite/gdb.mi/mi2-var-cmd.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp index f815041..d980917 100644 --- a/gdb/testsuite/gdb.mi/mi2-var-cmd.exp +++ b/gdb/testsuite/gdb.mi/mi2-var-cmd.exp @@ -513,14 +513,14 @@ mi_gdb_test "-var-create selected_a @ a" \ mi_continue_to incr_a mi_gdb_test "-var-update selected_a" \ - "\\^done,changelist=\\\[\{name=\"selected_a\",in_scope=\"true\",new_type=\"char\",new_num_children=\"0\"\}\\\]" \ + "\\^done,changelist=\\\[\{name=\"selected_a\",in_scope=\"true\",type_changed=\"true\",new_type=\"char\",new_num_children=\"0\"\}\\\]" \ "update selected_a in incr_a" mi_next "step a line in incr_a" mi_next "return from incr_a to do_special_tests" mi_gdb_test "-var-update selected_a" \ - "\\^done,changelist=\\\[\{name=\"selected_a\",in_scope=\"true\",new_type=\"int\",new_num_children=\"0\"\}\\\]" \ + "\\^done,changelist=\\\[\{name=\"selected_a\",in_scope=\"true\",type_changed=\"true\",new_type=\"int\",new_num_children=\"0\"\}\\\]" \ "update selected_a in do_special_tests" mi_gdb_exit |