aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.c++/virtfunc.exp
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-01-20 15:40:07 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2003-01-20 15:40:07 +0000
commitf2dd3617b5abbdbf929f7b07cb3da97f518aef85 (patch)
tree96f2f44b72b0bb83689a745cb6b0a9ebf59d0eec /gdb/testsuite/gdb.c++/virtfunc.exp
parentd2823f55fd5735344f6181f5ec1bd3b51108db17 (diff)
downloadgdb-f2dd3617b5abbdbf929f7b07cb3da97f518aef85.zip
gdb-f2dd3617b5abbdbf929f7b07cb3da97f518aef85.tar.gz
gdb-f2dd3617b5abbdbf929f7b07cb3da97f518aef85.tar.bz2
2003-01-20 Elena Zannoni <ezannoni@redhat.com>
* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to allow for different test tree configurations. Update some tescases accordingly. * gdb.arch/altivec-regs.exp: Ditto. * gdb.asm/asm-source.exp: Ditto. * gdb.base/advance.exp: Ditto. * gdb.base/display.exp: Ditto. * gdb.base/long_long.exp: Ditto. * gdb.base/mips_pro.exp: Ditto. * gdb.base/overlays.exp: Ditto. * gdb.base/relocate.exp: Ditto. * gdb.base/setshow.exp: Ditto. * gdb.base/step-line.exp: Ditto. * gdb.base/step-test.exp: Ditto. * gdb.base/until.exp: Ditto. * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
Diffstat (limited to 'gdb/testsuite/gdb.c++/virtfunc.exp')
-rw-r--r--gdb/testsuite/gdb.c++/virtfunc.exp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.c++/virtfunc.exp b/gdb/testsuite/gdb.c++/virtfunc.exp
index 5bc50a2..2741cf6 100644
--- a/gdb/testsuite/gdb.c++/virtfunc.exp
+++ b/gdb/testsuite/gdb.c++/virtfunc.exp
@@ -39,8 +39,7 @@ if [get_compiler_info ${binfile} "c++"] {
source ${binfile}.ci
-set src "${srcdir}/${subdir}/${srcfile}"
-if { [gdb_compile "${src}" "${binfile}" executable {c++ debug}] != "" } {
+if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {c++ debug}] != "" } {
gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail."
}