summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2002-02-23 20:57:53 +0000
committerMichael Chastain <mec@google.com>2002-02-23 20:57:53 +0000
commit5a2a0a20778a69d445709538e1312b61278e9989 (patch)
tree748d45c27334c711d529f31a5e9b665dca5d3cdf /gdb
parent696f451b7e9b2e5cbb5c12c76a51475ef04b2845 (diff)
downloadbinutils-gdb-5a2a0a20778a69d445709538e1312b61278e9989.tar.gz
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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.c++/templates.exp6
2 files changed, 6 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index f0e4d734101..2d8b3ac83d9 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2002-02-21 Jim Blandy <jimb@redhat.com>
* gdb.asm/asm-source.exp: Parse the output from `info sources' one
diff --git a/gdb/testsuite/gdb.c++/templates.exp b/gdb/testsuite/gdb.c++/templates.exp
index 45909f0069b..a6d35fcb116 100644
--- a/gdb/testsuite/gdb.c++/templates.exp
+++ b/gdb/testsuite/gdb.c++/templates.exp
@@ -316,11 +316,7 @@ gdb_expect {
# 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" }