aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/volatile.exp
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
commit674f90ff34399721703ecfee019c6226d621c6c8 (patch)
tree2e10d2ba9745165cb2c9c909c5a80ac80264f88f /gdb/testsuite/gdb.base/volatile.exp
parent3ac8354b402f8bf9f7ff1fe4f7e8d6c3bddae893 (diff)
downloadgdb-674f90ff34399721703ecfee019c6226d621c6c8.zip
gdb-674f90ff34399721703ecfee019c6226d621c6c8.tar.gz
gdb-674f90ff34399721703ecfee019c6226d621c6c8.tar.bz2
* gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.
Diffstat (limited to 'gdb/testsuite/gdb.base/volatile.exp')
-rw-r--r--gdb/testsuite/gdb.base/volatile.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/volatile.exp b/gdb/testsuite/gdb.base/volatile.exp
index 23bd04e..693cea0 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" }