diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2011-07-22 18:01:43 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2011-07-22 18:01:43 +0000 |
commit | b3215adc06e4946aca4b6b6c4ebea305753fbe22 (patch) | |
tree | 597c6146bb9b7507ccf73a609e49428adb4df960 /gdb/testsuite/gdb.python/py-mi.exp | |
parent | 182b9acc4b043d7d313f94d217bb6e4f869e5f86 (diff) | |
download | gdb-b3215adc06e4946aca4b6b6c4ebea305753fbe22.zip gdb-b3215adc06e4946aca4b6b6c4ebea305753fbe22.tar.gz gdb-b3215adc06e4946aca4b6b6c4ebea305753fbe22.tar.bz2 |
* gdb.python/py-mi.exp: Use different file names for different
versions of the executable under test.
* gdb.python/py-prettyprint.exp: Likewise.
* gdb.python/py-symbol.exp: Likewise.
* gdb.python/py-template.exp: Likewise.
* gdb.python/py-type.exp: Likewise.
* gdb.python/py-value.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-mi.exp')
-rw-r--r-- | gdb/testsuite/gdb.python/py-mi.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/py-mi.exp b/gdb/testsuite/gdb.python/py-mi.exp index 2e4d12b..749cb93 100644 --- a/gdb/testsuite/gdb.python/py-mi.exp +++ b/gdb/testsuite/gdb.python/py-mi.exp @@ -286,7 +286,7 @@ mi_list_varobj_children nstype2 { # C++ MI tests gdb_exit -if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" \ +if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-c++" \ executable {debug c++ additional_flags=-DMI}] != "" } { untested "Couldn't compile ${srcfile} in c++ mode" return -1 @@ -297,7 +297,7 @@ if [mi_gdb_start] { } mi_delete_breakpoints mi_gdb_reinitialize_dir $srcdir/$subdir -mi_gdb_load ${binfile} +mi_gdb_load ${binfile}-c++ if {[lsearch -exact [mi_get_features] python] < 0} { unsupported "python support is disabled" |