* gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
check to allow additional `int'.
This commit is contained in:
parent
3ac8354b40
commit
674f90ff34
|
@ -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>
|
2001-09-27 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* gdb.base/completion.exp: Remove incorrect 'p "a' test.
|
* gdb.base/completion.exp: Remove incorrect 'p "a' test.
|
||||||
|
|
|
@ -254,7 +254,7 @@ gdb_test "ptype vendor" "type = const volatile unsigned char \\* const volatile.
|
||||||
local_compiler_xfail_check
|
local_compiler_xfail_check
|
||||||
send_gdb "ptype qux2\n"
|
send_gdb "ptype qux2\n"
|
||||||
gdb_expect {
|
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"
|
pass "ptype qux2"
|
||||||
}
|
}
|
||||||
-re ".*$gdb_prompt $" { fail "ptype qux2" }
|
-re ".*$gdb_prompt $" { fail "ptype qux2" }
|
||||||
|
|
Loading…
Reference in New Issue