2011-07-28 Phil Muldoon <pmuldoon@redhat.com>
authorPhil Muldoon <pmuldoon@redhat.com>
Thu, 28 Jul 2011 10:36:40 +0000 (10:36 +0000)
committerPhil Muldoon <pmuldoon@redhat.com>
Thu, 28 Jul 2011 10:36:40 +0000 (10:36 +0000)
commit00bd41d6bc7fc83d8fa5d739722f9d3bc3f62da1
tree6ea7137fdf0a61a30a046a34fc8e549d3d6e2aa5
parente89702a8bdadd66330aaa605cfe571ed50f50a70
2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>

* varobj.c (value_get_print_value): Move hint check later into the
function.  Comment function.  Free thevalue before reusing it.

2011-07-28  Phil Muldoon  <pmuldoon@redhat.com>

* gdb.python/py-mi.exp: Test printers returning string hint, and
also not returning a value.
* gdb.python/py-prettyprint.c: Add testcase for above.
* gdb.python/py-prettyprint.py: Add test printer for above.
gdb/ChangeLog
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-mi.exp
gdb/testsuite/gdb.python/py-prettyprint.c
gdb/testsuite/gdb.python/py-prettyprint.py
gdb/varobj.c