summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/py-value.exp
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-07-22 18:01:41 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2011-07-22 18:01:41 +0000
commit1ea0ca74e74898abcdcd280679a886ee68825dac (patch)
tree75e787bef2fc6efb3194922ce1404a2f57e9d84f /gdb/testsuite/gdb.python/py-value.exp
parent8d2ed360af754c6bf6b0b7c3e37db570f18f39c0 (diff)
downloadgdb-1ea0ca74e74898abcdcd280679a886ee68825dac.tar.gz
* 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-value.exp')
-rw-r--r--gdb/testsuite/gdb.python/py-value.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp
index faeb64361e2..cd8b9a5d4e1 100644
--- a/gdb/testsuite/gdb.python/py-value.exp
+++ b/gdb/testsuite/gdb.python/py-value.exp
@@ -326,7 +326,7 @@ proc test_value_after_death {} {
proc test_subscript_regression {lang} {
global srcdir subdir srcfile binfile testfile hex
- if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable "debug $lang"] != "" } {
+ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}-${lang}" executable "debug $lang"] != "" } {
untested "Couldn't compile ${srcfile} in $lang mode"
return -1
}
@@ -335,7 +335,7 @@ proc test_subscript_regression {lang} {
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
- gdb_load ${binfile}
+ gdb_load ${binfile}-${lang}
if ![runto_main ] then {
perror "couldn't run to breakpoint"