* varobj.c (install_new_value): Always update print_value.
authorDaniel Jacobowitz <drow@false.org>
Mon, 8 Jan 2007 23:11:47 +0000 (23:11 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 8 Jan 2007 23:11:47 +0000 (23:11 +0000)
commit57e66780712e5e26bd6857c0f56b537013cd17dc
treea1dd7db3641ea8d1c242c00c44e22d3df5fb5c39
parent822b7cb4a1db8a522bcd40990687d53a99567378
* varobj.c (install_new_value): Always update print_value.
(value_get_print_value): Immediately return NULL for missing
values.

* gdb.mi/mi-var-cmd.exp: Expect lpcharacter to update when
lcharacter or linteger change.  Correct duplicated test name.
* gdb.mi/mi2-var-cmd.exp: Likewise.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.mi/mi-var-cmd.exp
gdb/testsuite/gdb.mi/mi2-var-cmd.exp
gdb/varobj.c