aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorRandolph Chung <tausq@debian.org>2004-06-11 23:42:49 +0000
committerRandolph Chung <tausq@debian.org>2004-06-11 23:42:49 +0000
commite12a46c96a5f0a76d9704f299290ff3689c07902 (patch)
treef72687253db8cf2feaeb38993cb095dbb74cf463 /gdb/testsuite
parent1b2bfbb99935e44d1a13cc5355ad9768d1daf6d2 (diff)
downloadgdb-e12a46c96a5f0a76d9704f299290ff3689c07902.zip
gdb-e12a46c96a5f0a76d9704f299290ff3689c07902.tar.gz
gdb-e12a46c96a5f0a76d9704f299290ff3689c07902.tar.bz2
2004-06-11 Randolph Chung <tausq@debian.org>
* gdb.base/structs2.exp: Mark two tests as xfail because of a compiler problem.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/structs2.exp12
2 files changed, 17 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index db5f017..5f622f4 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-11 Randolph Chung <tausq@debian.org>
+
+ * gdb.base/structs2.exp: Mark two tests as xfail because of a compiler
+ problem.
+
2004-06-10 Andrew Cagney <cagney@gnu.org>
* lib/compiler.cc, lib/compiler.c: Append either
diff --git a/gdb/testsuite/gdb.base/structs2.exp b/gdb/testsuite/gdb.base/structs2.exp
index c3c4e67..e7f6553 100644
--- a/gdb/testsuite/gdb.base/structs2.exp
+++ b/gdb/testsuite/gdb.base/structs2.exp
@@ -29,6 +29,12 @@ set testfile "structs2"
set srcfile ${testfile}.c
set binfile ${objdir}/${subdir}/${testfile}
+# Create and source the file that provides information about the compiler
+# used to compile the test case.
+if [get_compiler_info ${binfile}] {
+ return -1;
+}
+
# build the first test case
if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } {
# built the second test case since we can't use prototypes
@@ -64,10 +70,16 @@ gdb_test "break param_reg" \
"Breakpoint .* at .*" \
"structs2 breakpoint set"
+if [test_compiler_info gcc-*-*] {
+ setup_xfail hppa*-* gcc/15860
+}
gdb_test "continue" \
".*pr_char=120.*pr_uchar=130.*pr_short=32000.*pr_ushort=33000.*bkpt = 1.*" \
"structs2 continue1"
+if [test_compiler_info gcc-*-*] {
+ setup_xfail hppa*-* gcc/15860
+}
gdb_test "continue" \
".*pr_char=-126.*pr_uchar=120.*pr_short=-32536.*pr_ushort=32000.*bkpt = 1.*" \
"structs2 continue2"