From f0e8f659dae058d8281bc7cccf84c362b2d72337 Mon Sep 17 00:00:00 2001 From: fnf Date: Tue, 8 Jan 2002 05:37:42 +0000 Subject: [PATCH] Approved by mec@shout.net. 2002-01-07 Fred Fish * 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) --- gdb/testsuite/ChangeLog | 23 ++++++++++++++++++ gdb/testsuite/gdb.c++/overload.exp | 49 +++++--------------------------------- 2 files changed, 29 insertions(+), 43 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 00557c58e5..32b35fea94 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,26 @@ +2002-01-07 Fred Fish + + * 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 * 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 d4d1269860..e9aaae04fe 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 $" { -- 2.11.0