aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-11-10 10:30:46 +0800
committerYao Qi <yao@codesourcery.com>2013-11-22 08:34:22 +0800
commit0061ea2440bff35c29fa18c752528680dc985242 (patch)
tree46097bad3447406dcbab324bb77ce21ce63ff14b /gdb
parent46b2ff5b53f12137013b59d399ef65a0b98990bc (diff)
downloadgdb-0061ea2440bff35c29fa18c752528680dc985242.zip
gdb-0061ea2440bff35c29fa18c752528680dc985242.tar.gz
gdb-0061ea2440bff35c29fa18c752528680dc985242.tar.bz2
Use mi_create_floating_varobj
In gdb.python/py-mi.exp, two varobjs container and nscont are created when pretty-printing is still not enabled, so they are not dynamic varobj, IIUC. In this patch, we use mi_create_floating_varobj instead of mi_create_dynamic_varobj. gdb/testsuite: 2013-11-22 Yao Qi <yao@codesourcery.com> * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead of mi_create_dynamic_varobj.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.python/py-mi.exp4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5619a45..9b78096 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2013-11-22 Yao Qi <yao@codesourcery.com>
+
+ * gdb.python/py-mi.exp: Use mi_create_floating_varobj instead
+ of mi_create_dynamic_varobj.
+
2013-11-20 Pedro Alves <palves@redhat.com>
* gdb.base/maint.exp (maint print objfiles): Consume one line at a
diff --git a/gdb/testsuite/gdb.python/py-mi.exp b/gdb/testsuite/gdb.python/py-mi.exp
index 28aa2c8..69bc093 100644
--- a/gdb/testsuite/gdb.python/py-mi.exp
+++ b/gdb/testsuite/gdb.python/py-mi.exp
@@ -49,7 +49,7 @@ mi_gdb_test "python exec (open ('${remote_python_file}').read ())" ""
mi_continue_to_line [gdb_get_line_number {MI breakpoint here} ${srcfile}] \
"step to breakpoint"
-mi_create_dynamic_varobj container c \
+mi_create_floating_varobj container c \
"create container varobj, no pretty-printing"
mi_list_varobj_children container {
@@ -60,7 +60,7 @@ mi_list_varobj_children container {
mi_delete_varobj container "delete varobj"
-mi_create_dynamic_varobj nscont nstype \
+mi_create_floating_varobj nscont nstype \
"create nscont varobj, no pretty-printing"
mi_list_varobj_children nscont {