From: Corinna Vinschen Date: Fri, 28 Sep 2001 11:41:30 +0000 (+0000) Subject: * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2 X-Git-Tag: cygnus_cvs_20020108_pre~1232 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=674f90ff34399721703ecfee019c6226d621c6c8;p=external%2Fbinutils.git * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2 check to allow additional `int'. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 06e2302..da2b517 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-09-28 Corinna Vinschen + + * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2 + check to allow additional `int'. + 2001-09-27 Daniel Jacobowitz * 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 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" }