aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>2002-01-08 05:37:43 +0000
committerFred Fish <fnf@specifix.com>2002-01-08 05:37:43 +0000
commit6820313638ac8dd44413328c1ca12f42a35e62c3 (patch)
tree2b995551cdeebc1a6cca757dbcd960690dfb9ece
parent8d05742ff61cb729d294257e99ec13104e4c1c35 (diff)
downloadgdb-6820313638ac8dd44413328c1ca12f42a35e62c3.zip
gdb-6820313638ac8dd44413328c1ca12f42a35e62c3.tar.gz
gdb-6820313638ac8dd44413328c1ca12f42a35e62c3.tar.bz2
Approved by mec@shout.net.
2002-01-07 Fred Fish <fnf@redhat.com> * gdb.c++/overload.exp: Remove unconditional xfails for: print foo_instance1.overloadargs(1) print foo_instance1.overloadargs(1, 2) print foo_instance1.overloadargs(1, 2, 3) print foo_instance1.overloadargs(1, 2, 3, 4) print foo_instance1.overloadargs(1, 2, 3, 4, 5) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11) print foo_instance1.overload1arg() print foo_instance1.overload1arg((char)arg2) print foo_instance1.overload1arg((signed char)arg3) print foo_instance1.overload1arg((unsigned char)arg4) print foo_instance1.overload1arg((int)arg7) print foo_instance1.overload1arg((unsigned int)arg8) print foo_instance1.overload1arg((float)arg11) print foo_instance1.overload1arg((double)arg12)
-rw-r--r--gdb/testsuite/ChangeLog23
-rw-r--r--gdb/testsuite/gdb.c++/overload.exp49
2 files changed, 29 insertions, 43 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 00557c5..32b35fe 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,26 @@
+2002-01-07 Fred Fish <fnf@redhat.com>
+
+ * gdb.c++/overload.exp: Remove unconditional xfails for:
+ print foo_instance1.overloadargs(1)
+ print foo_instance1.overloadargs(1, 2)
+ print foo_instance1.overloadargs(1, 2, 3)
+ print foo_instance1.overloadargs(1, 2, 3, 4)
+ print foo_instance1.overloadargs(1, 2, 3, 4, 5)
+ print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
+ print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
+ print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
+ print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
+ print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
+ print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
+ print foo_instance1.overload1arg()
+ print foo_instance1.overload1arg((char)arg2)
+ print foo_instance1.overload1arg((signed char)arg3)
+ print foo_instance1.overload1arg((unsigned char)arg4)
+ print foo_instance1.overload1arg((int)arg7)
+ print foo_instance1.overload1arg((unsigned int)arg8)
+ print foo_instance1.overload1arg((float)arg11)
+ print foo_instance1.overload1arg((double)arg12)
+
2002-01-07 Michael Snyder <msnyder@redhat.com>
* gdb.base/huge.exp: New test. Print a very large target data object.
diff --git a/gdb/testsuite/gdb.c++/overload.exp b/gdb/testsuite/gdb.c++/overload.exp
index d4d1269..e9aaae0 100644
--- a/gdb/testsuite/gdb.c++/overload.exp
+++ b/gdb/testsuite/gdb.c++/overload.exp
@@ -1,4 +1,4 @@
-# Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+# Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -110,12 +110,6 @@ gdb_expect {
}
-# The overload resolver added by HP (valops.c:find_overload_match) doesn't
-# work right for G++ output, since the list of parameters seems not to
-# be filled in correctly. Until this gets fixed, don't expect to pass
-# these tests.
-
-setup_xfail "*-*-*" CLLbs16901
send_gdb "print foo_instance1.overloadargs(1)\n"
gdb_expect {
-re ".\[0-9\]* = 1\r\n$gdb_prompt $" {
@@ -126,8 +120,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2)\n"
gdb_expect {
-re ".\[0-9\]* = 2\r\n$gdb_prompt $" {
@@ -138,8 +130,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3)\n"
gdb_expect {
-re ".\[0-9\]* = 3\r\n$gdb_prompt $" {
@@ -150,8 +140,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4)\n"
gdb_expect {
-re ".\[0-9\]* = 4\r\n$gdb_prompt $" {
@@ -162,8 +150,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5)\n"
gdb_expect {
-re ".\[0-9\]* = 5\r\n$gdb_prompt $" {
@@ -174,8 +160,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)\n"
gdb_expect {
-re ".\[0-9\]* = 6\r\n$gdb_prompt $" {
@@ -186,8 +170,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)\n"
gdb_expect {
-re ".\[0-9\]* = 7\r\n$gdb_prompt $" {
@@ -198,8 +180,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)\n"
gdb_expect {
-re ".\[0-9\]* = 8\r\n$gdb_prompt $" {
@@ -210,8 +190,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)\n"
gdb_expect {
-re ".\[0-9\]* = 9\r\n$gdb_prompt $" {
@@ -222,8 +200,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)\n"
gdb_expect {
-re ".\[0-9\]* = 10\r\n$gdb_prompt $" {
@@ -234,8 +210,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)\n"
gdb_expect {
-re ".\[0-9\]* = 11\r\n$gdb_prompt $" {
@@ -246,8 +220,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg()\n"
gdb_expect {
-re ".\[0-9\]* = 1\r\n$gdb_prompt $" {
@@ -258,8 +230,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((char)arg2)\n"
gdb_expect {
-re ".\[0-9\]* = 2\r\n$gdb_prompt $" {
@@ -270,8 +240,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((signed char)arg3)\n"
gdb_expect {
-re ".\[0-9\]* = 3\r\n$gdb_prompt $" {
@@ -282,8 +250,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((unsigned char)arg4)\n"
gdb_expect {
-re ".\[0-9\]* = 4\r\n$gdb_prompt $" {
@@ -294,6 +260,11 @@ gdb_expect {
}
+# The overload resolver added by HP (valops.c:find_overload_match) doesn't
+# work right for G++ output, since the list of parameters seems not to
+# be filled in correctly. Until this gets fixed, don't expect to pass
+# some of these tests.
+
setup_xfail "*-*-*" CLLbs16901
send_gdb "print foo_instance1.overload1arg((short)arg5)\n"
@@ -318,8 +289,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((int)arg7)\n"
gdb_expect {
-re ".\[0-9\]* = 7\r\n$gdb_prompt $" {
@@ -330,8 +299,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((unsigned int)arg8)\n"
gdb_expect {
-re ".\[0-9\]* = 8\r\n$gdb_prompt $" {
@@ -366,8 +333,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((float)arg11)\n"
gdb_expect {
-re ".\[0-9\]* = 11\r\n$gdb_prompt $" {
@@ -378,8 +343,6 @@ gdb_expect {
}
-setup_xfail "*-*-*" CLLbs16901
-
send_gdb "print foo_instance1.overload1arg((double)arg12)\n"
gdb_expect {
-re ".\[0-9\]* = 12\r\n$gdb_prompt $" {