mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 16:05:56 +08:00
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.
This commit is contained in:
@ -284,6 +284,13 @@ mi_list_varobj_children nstype2 {
|
||||
{ {nstype2.<error at 0>} {<error at 0>} 6 {char \[6\]} }
|
||||
} "list children after setting exception flag"
|
||||
|
||||
mi_create_varobj me me \
|
||||
"create me varobj"
|
||||
|
||||
mi_gdb_test "-var-evaluate-expression me" \
|
||||
"\\^done,value=\"<error reading variable: Cannot access memory.>.*\"" \
|
||||
"evaluate me varobj"
|
||||
|
||||
# C++ MI tests
|
||||
gdb_exit
|
||||
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-cxx" \
|
||||
|
Reference in New Issue
Block a user