aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-10-11 23:54:12 +0000
committerFred Fish <fnf@specifix.com>1996-10-11 23:54:12 +0000
commit37d1429623f8d40b8bfe24fc3b448f90f6eae228 (patch)
tree6934c659bcf8700d2da79c487dee4144494a71bb /gdb/testsuite
parente5a2ac8b3f597f5d7f24f592dc897118a1e106ec (diff)
downloadgdb-37d1429623f8d40b8bfe24fc3b448f90f6eae228.zip
gdb-37d1429623f8d40b8bfe24fc3b448f90f6eae228.tar.gz
gdb-37d1429623f8d40b8bfe24fc3b448f90f6eae228.tar.bz2
* expstruct.exp (objfile2): Set and use, like other chill tests.
* pr-4975.exp: Ditto. * pr-5646.exp: Ditto. * pr-8134.exp: Ditto.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.chill/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.chill/extstruct.exp5
-rw-r--r--gdb/testsuite/gdb.chill/pr-4975.exp5
-rw-r--r--gdb/testsuite/gdb.chill/pr-5646.exp5
-rw-r--r--gdb/testsuite/gdb.chill/pr-8134.exp5
5 files changed, 19 insertions, 8 deletions
diff --git a/gdb/testsuite/gdb.chill/ChangeLog b/gdb/testsuite/gdb.chill/ChangeLog
index 59e57da..23c9263 100644
--- a/gdb/testsuite/gdb.chill/ChangeLog
+++ b/gdb/testsuite/gdb.chill/ChangeLog
@@ -1,3 +1,10 @@
+Fri Oct 11 16:48:56 1996 Fred Fish <fnf@cygnus.com>
+
+ * expstruct.exp (objfile2): Set and use, like other chill tests.
+ * pr-4975.exp: Ditto.
+ * pr-5646.exp: Ditto.
+ * pr-8134.exp: Ditto.
+
Thu Sep 5 01:54:42 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
* gch1280.exp: Enhance test case.
diff --git a/gdb/testsuite/gdb.chill/extstruct.exp b/gdb/testsuite/gdb.chill/extstruct.exp
index 6ef4b9a..c789cc2 100644
--- a/gdb/testsuite/gdb.chill/extstruct.exp
+++ b/gdb/testsuite/gdb.chill/extstruct.exp
@@ -27,7 +27,8 @@ if [skip_chill_tests] then { continue }
set testfile2 "extstruct-grt"
set srcfile2 ${srcdir}/$subdir/${testfile2}.ch
-if { [compile "${srcfile2} -g -c"] != "" } {
+set objfile2 ${objdir}/$subdir/${testfile2}.o
+if { [compile "${srcfile2} -g -c -o ${objfile2}"] != "" } {
perror "Couldn't compile ${srcfile2}"
return -1
}
@@ -35,7 +36,7 @@ if { [compile "${srcfile2} -g -c"] != "" } {
set testfile "extstruct"
set srcfile ${srcdir}/$subdir/${testfile}.ch
set binfile ${objdir}/${subdir}/${testfile}.exe
-if { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+if { [compile "${srcfile} -g ${objfile2} -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
perror "Couldn't compile ${srcfile}"
return -1
}
diff --git a/gdb/testsuite/gdb.chill/pr-4975.exp b/gdb/testsuite/gdb.chill/pr-4975.exp
index ad3f83e..787b3bd 100644
--- a/gdb/testsuite/gdb.chill/pr-4975.exp
+++ b/gdb/testsuite/gdb.chill/pr-4975.exp
@@ -27,7 +27,8 @@ if [skip_chill_tests] then { continue }
set testfile2 "pr-4975-grt"
set srcfile2 ${srcdir}/$subdir/${testfile2}.ch
-if { [compile "${srcfile2} -g -c"] != "" } {
+set objfile2 ${objdir}/$subdir/${testfile2}.o
+if { [compile "${srcfile2} -g -c -o ${objfile2}"] != "" } {
perror "Couldn't compile ${srcfile2}"
return -1
}
@@ -35,7 +36,7 @@ if { [compile "${srcfile2} -g -c"] != "" } {
set testfile "pr-4975"
set srcfile ${srcdir}/$subdir/${testfile}.ch
set binfile ${objdir}/${subdir}/${testfile}.exe
-if { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+if { [compile "${srcfile} -g ${objfile2} -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
perror "Couldn't compile ${srcfile}"
return -1
}
diff --git a/gdb/testsuite/gdb.chill/pr-5646.exp b/gdb/testsuite/gdb.chill/pr-5646.exp
index 8f57c15..2c0cb08 100644
--- a/gdb/testsuite/gdb.chill/pr-5646.exp
+++ b/gdb/testsuite/gdb.chill/pr-5646.exp
@@ -27,7 +27,8 @@ if [skip_chill_tests] then { continue }
set testfile2 "pr-5646-grt"
set srcfile2 ${srcdir}/$subdir/${testfile2}.ch
-if { [compile "${srcfile2} -g -c"] != "" } {
+set objfile2 ${objdir}/$subdir/${testfile2}.o
+if { [compile "${srcfile2} -g -c -o ${objfile2}"] != "" } {
perror "Couldn't compile ${srcfile2}"
return -1
}
@@ -35,7 +36,7 @@ if { [compile "${srcfile2} -g -c"] != "" } {
set testfile "pr-5646"
set srcfile ${srcdir}/$subdir/${testfile}.ch
set binfile ${objdir}/${subdir}/${testfile}.exe
-if { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+if { [compile "${srcfile} -g ${objfile2} -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
perror "Couldn't compile ${srcfile}"
return -1
}
diff --git a/gdb/testsuite/gdb.chill/pr-8134.exp b/gdb/testsuite/gdb.chill/pr-8134.exp
index e2586d0..bbf97d9 100644
--- a/gdb/testsuite/gdb.chill/pr-8134.exp
+++ b/gdb/testsuite/gdb.chill/pr-8134.exp
@@ -28,7 +28,8 @@ if [skip_chill_tests] then { continue }
# Note we use pr-8136.ch for pr-8134.exp as well as pr-8136.exp.
set testfile2 "func1"
set srcfile2 ${srcdir}/$subdir/${testfile2}.ch
-if { [compile "${srcfile2} -g -c"] != "" } {
+set objfile2 ${objdir}/$subdir/${testfile2}.o
+if { [compile "${srcfile2} -g -c -o ${objfile2}"] != "" } {
perror "Couldn't compile ${srcfile2}"
return -1
}
@@ -36,7 +37,7 @@ if { [compile "${srcfile2} -g -c"] != "" } {
set testfile "pr-8134"
set srcfile ${srcdir}/$subdir/pr-8136.ch
set binfile ${objdir}/${subdir}/${testfile}.exe
-if { [compile "${srcfile} -g -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
+if { [compile "${srcfile} -g ${objfile2} -o ${binfile} ${CHILL_RT0} ${CHILL_LIB}"] != "" } {
perror "Couldn't compile ${srcfile}"
return -1
}