aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/overload.exp
diff options
context:
space:
mode:
authorMichael Chastain <mec@google.com>2004-01-09 04:57:09 +0000
committerMichael Chastain <mec@google.com>2004-01-09 04:57:09 +0000
commit8f25f06bfe2d8077867b96f82102cef1b5139c08 (patch)
tree1f3732f72498776f7ae164996cec8b88bb8923f3 /gdb/testsuite/gdb.cp/overload.exp
parent78849248c05bbfd4aec63ab945195eac6e4224b0 (diff)
downloadgdb-8f25f06bfe2d8077867b96f82102cef1b5139c08.zip
gdb-8f25f06bfe2d8077867b96f82102cef1b5139c08.tar.gz
gdb-8f25f06bfe2d8077867b96f82102cef1b5139c08.tar.bz2
2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/classes.exp: Accept gnu abi 2. * gdb.cp/derivation.exp: Likewise. * gdb.cp/overload.exp: Likewise. * gdb.cp/virtfunc.exp: Likewise.
Diffstat (limited to 'gdb/testsuite/gdb.cp/overload.exp')
-rw-r--r--gdb/testsuite/gdb.cp/overload.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.cp/overload.exp b/gdb/testsuite/gdb.cp/overload.exp
index abb9f5b..2925b50 100644
--- a/gdb/testsuite/gdb.cp/overload.exp
+++ b/gdb/testsuite/gdb.cp/overload.exp
@@ -64,7 +64,6 @@ gdb_test "up" ".*main.*" "up from marker1"
#
# This is hairy to begin with. It is even more hairy because of the
# XX_* alternate patterns to catch the KFAIL and XFAIL cases.
-# TODO: And then hair^3 to reutrn the same results as the old tests.
set re_class "((struct|class) foo \{${ws}public:|struct foo \{)"
set re_fields "int ifoo;${ws}const char ?\\* ?ccpfoo;"
@@ -143,9 +142,7 @@ gdb_test_multiple "ptype foo_instance1" "ptype foo_instance1" {
}
-re "type = $re_class${ws}$re_fields${ws}$re_ctor${ws}$re_dtor${ws}$re_methods${ws}$re_synth$nl\}$nl$gdb_prompt $" {
# gcc HEAD -gstabs+ (abi-2)
- # TODO: just pass this
- # pass "ptype foo_instance1"
- fail "ptype foo_instance1"
+ pass "ptype foo_instance1 (shorter match)"
}
}