summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2001-09-28 11:41:30 +0000
committerCorinna Vinschen <corinna@vinschen.de>2001-09-28 11:41:30 +0000
commita773901c0b09780155b0e29c9401e0a71a232a69 (patch)
tree5981a52a59133057d502a8f08b30d47b5a341d0d
parent29047bfa2e12e3a7e71ed7874246bbeb9f63f569 (diff)
downloadgdb-a773901c0b09780155b0e29c9401e0a71a232a69.tar.gz
* gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/volatile.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 06e2302d732..da2b517aee0 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-28 Corinna Vinschen <vinschen@redhat.com>
+
+ * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
+ check to allow additional `int'.
+
2001-09-27 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/completion.exp: Remove incorrect 'p "a' test.
diff --git a/gdb/testsuite/gdb.base/volatile.exp b/gdb/testsuite/gdb.base/volatile.exp
index 23bd04e041c..693cea02470 100644
--- a/gdb/testsuite/gdb.base/volatile.exp
+++ b/gdb/testsuite/gdb.base/volatile.exp
@@ -254,7 +254,7 @@ gdb_test "ptype vendor" "type = const volatile unsigned char \\* const volatile.
local_compiler_xfail_check
send_gdb "ptype qux2\n"
gdb_expect {
- -re "type = int \\(volatile unsigned char, const volatile int, volatile short, volatile long \\*, float \\* volatile, const volatile signed char \\* const volatile\\).*$gdb_prompt $" {
+ -re "type = int \\(volatile unsigned char, const volatile int, volatile short( int)?, volatile long( int)? \\*, float \\* volatile, const volatile signed char \\* const volatile\\).*$gdb_prompt $" {
pass "ptype qux2"
}
-re ".*$gdb_prompt $" { fail "ptype qux2" }