diff options
author | Vladimir Prus <vladimir@codesourcery.com> | 2006-11-28 17:23:10 +0000 |
---|---|---|
committer | Vladimir Prus <vladimir@codesourcery.com> | 2006-11-28 17:23:10 +0000 |
commit | acd65feb7ed6511f571de5b5ec7f2dd759819fe5 (patch) | |
tree | e0a7f98afb50eae5c17ae270bc31974c9e384697 /gdb/testsuite/ChangeLog | |
parent | 74ca34cea9f2a3521ecb6b58f57bb799cd19b3ae (diff) | |
download | gdb-acd65feb7ed6511f571de5b5ec7f2dd759819fe5.zip gdb-acd65feb7ed6511f571de5b5ec7f2dd759819fe5.tar.gz gdb-acd65feb7ed6511f571de5b5ec7f2dd759819fe5.tar.bz2 |
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
Fetch varobj values from memory in a single place,
and only fetch the values that are really needed.
* varobj.c (struct varobj): Clarify comment.
(my_value_equal): Remove.
(install_new_value): New function.
(type_of_child): Remove.
(varobj_create): Use install_new_value.
(varobj_set_value): Use value_contents_equal, not
my_value_equal.
(varobj_update): Use install_new_value.
(create_child): Likewise. Inline type_of_child here.
(value_of_child): Don't fetch the value.
(c_value_of_root): Likewise.
(c_value_of_variable): Likewise.
(type_changeable): Improve comments.
Diffstat (limited to 'gdb/testsuite/ChangeLog')
-rw-r--r-- | gdb/testsuite/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 40685ea..c6550e4 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2006-11-28 Vladimir Prus <vladimir@codesourcery.com> + + * gdb.mi/mi-var-cmd.exp: Check -var-update after + assignement of arrays and function pointers. + * gdb.mi/var-cmd.c: Add declaration necessary for above + tests. + 2006-11-27 Nathan Sidwell <nathan@codesourcery.com> * gdb.base/break.c (main): Call malloc. |