From e8367dc76aa7182522609cba724c9753e0137a80 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 27 Nov 2003 20:40:52 +0000 Subject: [PATCH] * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a pattern for the KFAILs. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/structs.exp | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f7113d97cc6..b11eacdadd5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-11-27 Mark Kettenis + + * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a + pattern for the KFAILs. + 2003-11-25 Adam Fedor * gdb.objc/objcdecode.exp: Test for PR objc/1238. diff --git a/gdb/testsuite/gdb.base/structs.exp b/gdb/testsuite/gdb.base/structs.exp index e623d91b359..140ee70c310 100644 --- a/gdb/testsuite/gdb.base/structs.exp +++ b/gdb/testsuite/gdb.base/structs.exp @@ -217,8 +217,8 @@ proc test_struct_calls { n } { set tests "call $n ${testfile}" # Call fun${n}, checking the printed return-value. - setup_kfails structs-*tld* i686-*-* gdb/1447 - setup_compiler_kfails structs-tc-* gcc-3-3 "DWARF 2" i686-*-* gdb/1455 + setup_kfails structs-*tld* i*86-*-* gdb/1447 + setup_compiler_kfails structs-tc-* gcc-3-3 "DWARF 2" i*86-*-* gdb/1455 gdb_test "p/c fun${n}()" "[foo ${n}]" "p/c fun(); ${tests}" # Check that GDB can always pass a structure to an inferior function. @@ -229,8 +229,8 @@ proc test_struct_calls { n } { # examining that global to confirm that the value is as expected. gdb_test "call Fun${n}(foo${n})" "" "call Fun(foo); ${tests}" - setup_kfails structs-*tld* i686-*-* gdb/1447 - setup_compiler_kfails structs-tc-* gcc-3-3 "DWARF 2" i686-*-* gdb/1455 + setup_kfails structs-*tld* i*86-*-* gdb/1447 + setup_compiler_kfails structs-tc-* gcc-3-3 "DWARF 2" i*86-*-* gdb/1455 gdb_test "p/c L${n}" [foo ${n}] "p/c L; ${tests}" } @@ -283,7 +283,7 @@ proc test_struct_returns { n } { "advance to fun for return; ${tests}" # Check that the program invalidated the relevant global. - setup_kfails structs-tld i686-*-* gdb/1447 + setup_kfails structs-tld i*86-*-* gdb/1447 gdb_test "p/c L${n}" " = [zed $n]" "zed L for return; ${tests} .${testfile}." # Force the "return". This checks that the return is always @@ -331,7 +331,7 @@ proc test_struct_returns { n } { # "return_value_unknown" set above. set test "value foo returned; ${tests}" - setup_kfails structs-*tld* i686-*-* gdb/1447 + setup_kfails structs-*tld* i*86-*-* gdb/1447 gdb_test_multiple "p/c L${n}" "${test}" { -re " = [foo ${n}].*${gdb_prompt} $" { if $return_value_unknown { @@ -373,7 +373,7 @@ proc test_struct_returns { n } { "advance to fun for finish; ${tests}" # Check that the program invalidated the relevant global. - setup_kfails structs-tld i686-*-* gdb/1447 + setup_kfails structs-tld i*86-*-* gdb/1447 gdb_test "p/c L${n}" " = [zed $n]" "zed L for finish; ${tests}" # Finish the function, set 'finish_value_unknown" to non-empty if the @@ -395,7 +395,7 @@ proc test_struct_returns { n } { # "p/c". If no return value was found, the 'Z' from the previous # check that the variable was cleared, is printed. set test "value foo finished; ${tests}" - setup_kfails structs-*tld* i686-*-* gdb/1447 + setup_kfails structs-*tld* i*86-*-* gdb/1447 gdb_test_multiple "p/c" "${test}" { -re "[foo ${n}]\[\r\n\]+${gdb_prompt} $" { if $finish_value_unknown { -- 2.30.2