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)
This commit is contained in:
parent
8d05742ff6
commit
6820313638
2 changed files with 29 additions and 43 deletions
|
@ -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>
|
2002-01-07 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
* gdb.base/huge.exp: New test. Print a very large target data object.
|
* gdb.base/huge.exp: New test. Print a very large target data object.
|
||||||
|
|
|
@ -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
|
# 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
|
# 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"
|
send_gdb "print foo_instance1.overloadargs(1)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 1\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 2\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 3\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 4\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 5\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 6\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 7\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 8\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 9\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 10\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 11\r\n$gdb_prompt $" {
|
-re ".\[0-9\]* = 11\r\n$gdb_prompt $" {
|
||||||
|
@ -246,8 +220,6 @@ gdb_expect {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
setup_xfail "*-*-*" CLLbs16901
|
|
||||||
|
|
||||||
send_gdb "print foo_instance1.overload1arg()\n"
|
send_gdb "print foo_instance1.overload1arg()\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 1\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overload1arg((char)arg2)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 2\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overload1arg((signed char)arg3)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 3\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overload1arg((unsigned char)arg4)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 4\r\n$gdb_prompt $" {
|
-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
|
setup_xfail "*-*-*" CLLbs16901
|
||||||
|
|
||||||
send_gdb "print foo_instance1.overload1arg((short)arg5)\n"
|
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"
|
send_gdb "print foo_instance1.overload1arg((int)arg7)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 7\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overload1arg((unsigned int)arg8)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 8\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overload1arg((float)arg11)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 11\r\n$gdb_prompt $" {
|
-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"
|
send_gdb "print foo_instance1.overload1arg((double)arg12)\n"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re ".\[0-9\]* = 12\r\n$gdb_prompt $" {
|
-re ".\[0-9\]* = 12\r\n$gdb_prompt $" {
|
||||||
|
|
Loading…
Reference in a new issue