[PATCH] remove setup_xfail_format from gdb.c++/templates.exp
Michael Elizabeth Chastain
mec@shout.net
Sat Feb 23 12:55:00 GMT 2002
This patch removes a call to setup_xfail_format "stabs" in
gdb.c++/templates.exp. As of this week, the xfail is no longer
needed because gdb passes this test in all configurations. The last
configuration to be fixed was gcc 2.95.3 stabs.
Tested with:
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=2.95.3 glibc=vendor goption=-gdwarf-2]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=2.95.3 glibc=vendor goption=-gstabs+]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=3.0.3 glibc=vendor goption=-gdwarf-2]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=3.0.3 glibc=vendor goption=-gstabs+]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=3.0.4-20020215 glibc=vendor goption=-gdwarf-2]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=3.0.4-20020215 glibc=vendor goption=-gstabs+]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=3.0.4 glibc=vendor goption=-gdwarf-2]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=3.0.4 glibc=vendor goption=-gstabs+]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=gcc-3_0-branch%20020222 glibc=vendor goption=-gdwarf-2]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=gcc-3_0-branch%20020222 glibc=vendor goption=-gstabs+]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=HEAD%20020222 glibc=vendor goption=-gdwarf-2]
[target=native host=i686-pc-linux-gnu%rh-7.2 gdb=HEAD%2002-02-22 gcc=HEAD%20020222 glibc=vendor goption=-gstabs+]
I am committing this immanently.
Michael C
===
2002-02-23 Michael Chastain <mec@shout.net>
* gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
test "ptype bint". The test passes on all my stabs configurations.
Index: gdb/testsuite/gdb.c++/templates.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/templates.exp,v
retrieving revision 1.11
diff -c -3 -p -r1.11 templates.exp
*** templates.exp 2002/01/10 20:46:16 1.11
--- templates.exp 2002/02/23 20:49:34
*************** gdb_expect {
*** 316,326 ****
# ptype Bar<int,33>
! # stabs screws this test royally.
! # It thinks it has a badly mangled name.
! # I blame stabs, the other formats get it right. -djb
! get_debug_format
! setup_xfail_format "stabs"
send_gdb "ptype bint\n"
gdb_expect {
-re "type = (class |)Bar<int,(\\(int\\)|)33> \\{\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*.*int bar\\(int, int\\);\r\n\\}\r\n$gdb_prompt $" { pass "ptype bint" }
--- 316,322 ----
# ptype Bar<int,33>
!
send_gdb "ptype bint\n"
gdb_expect {
-re "type = (class |)Bar<int,(\\(int\\)|)33> \\{\r\n\[ \t\]*public:\r\n\[ \t\]*int x;\r\n\[ \t\]*int t;\r\n\r\n\[ \t\]*.*int bar\\(int, int\\);\r\n\\}\r\n$gdb_prompt $" { pass "ptype bint" }
More information about the Gdb-patches
mailing list