From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27847 invoked by alias); 7 Jan 2002 21:10:21 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 27790 invoked from network); 7 Jan 2002 21:10:20 -0000 Received: from unknown (HELO fred.ninemoons.com) (64.232.230.104) by sources.redhat.com with SMTP; 7 Jan 2002 21:10:20 -0000 Received: (from fnf@localhost) by fred.ninemoons.com (8.11.6/8.11.6) id g07L8ps30440; Mon, 7 Jan 2002 14:08:51 -0700 From: Fred Fish Message-Id: <200201072108.g07L8ps30440@fred.ninemoons.com> Subject: [RFA] Remove some obsolete gcc xfails from overload.exp To: gdb-patches@sources.redhat.com Date: Mon, 07 Jan 2002 13:10:00 -0000 Cc: fnf@redhat.com Reply-To: fnf@redhat.com X-Mailer: ELM [version 2.5 PL6] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00112.txt.bz2 Some of the gcc xfails in overload.exp seem to be obsolete. The xfailed tests currently pass with the development gdb using the latest development gcc, and also with the released gdb-5.1.0.1 using the released gcc-3.0.3. 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) Index: gdb.c++/overload.exp =================================================================== RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/overload.exp,v retrieving revision 1.6 diff -c -p -r1.6 overload.exp *** overload.exp 2001/11/01 23:41:09 1.6 --- overload.exp 2002/01/07 21:09:15 *************** *** 1,4 **** ! # Copyright 1998, 1999, 2000, 2001 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 --- 1,4 ---- ! # 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 *************** gdb_expect { *** 110,121 **** } - # 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 $" { --- 110,115 ---- *************** gdb_expect { *** 126,133 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overloadargs(1, 2)\n" gdb_expect { -re ".\[0-9\]* = 2\r\n$gdb_prompt $" { --- 120,125 ---- *************** gdb_expect { *** 138,145 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overloadargs(1, 2, 3)\n" gdb_expect { -re ".\[0-9\]* = 3\r\n$gdb_prompt $" { --- 130,135 ---- *************** gdb_expect { *** 150,157 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overloadargs(1, 2, 3, 4)\n" gdb_expect { -re ".\[0-9\]* = 4\r\n$gdb_prompt $" { --- 140,145 ---- *************** gdb_expect { *** 162,169 **** } - 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 $" { --- 150,155 ---- *************** gdb_expect { *** 174,181 **** } - 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 $" { --- 160,165 ---- *************** gdb_expect { *** 186,193 **** } - 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 $" { --- 170,175 ---- *************** gdb_expect { *** 198,205 **** } - 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 $" { --- 180,185 ---- *************** gdb_expect { *** 210,217 **** } - 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 $" { --- 190,195 ---- *************** gdb_expect { *** 222,229 **** } - 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 $" { --- 200,205 ---- *************** gdb_expect { *** 234,241 **** } - 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 $" { --- 210,215 ---- *************** gdb_expect { *** 246,253 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overload1arg()\n" gdb_expect { -re ".\[0-9\]* = 1\r\n$gdb_prompt $" { --- 220,225 ---- *************** gdb_expect { *** 258,265 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overload1arg((char)arg2)\n" gdb_expect { -re ".\[0-9\]* = 2\r\n$gdb_prompt $" { --- 230,235 ---- *************** gdb_expect { *** 270,277 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overload1arg((signed char)arg3)\n" gdb_expect { -re ".\[0-9\]* = 3\r\n$gdb_prompt $" { --- 240,245 ---- *************** gdb_expect { *** 282,289 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overload1arg((unsigned char)arg4)\n" gdb_expect { -re ".\[0-9\]* = 4\r\n$gdb_prompt $" { --- 250,255 ---- *************** gdb_expect { *** 294,299 **** --- 260,270 ---- } + # 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" *************** gdb_expect { *** 318,325 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overload1arg((int)arg7)\n" gdb_expect { -re ".\[0-9\]* = 7\r\n$gdb_prompt $" { --- 289,294 ---- *************** gdb_expect { *** 330,337 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overload1arg((unsigned int)arg8)\n" gdb_expect { -re ".\[0-9\]* = 8\r\n$gdb_prompt $" { --- 299,304 ---- *************** gdb_expect { *** 366,373 **** } - setup_xfail "*-*-*" CLLbs16901 - send_gdb "print foo_instance1.overload1arg((float)arg11)\n" gdb_expect { -re ".\[0-9\]* = 11\r\n$gdb_prompt $" { --- 333,338 ---- *************** gdb_expect { *** 377,384 **** timeout { fail "(timeout) print call overloaded func float arg" } } - - setup_xfail "*-*-*" CLLbs16901 send_gdb "print foo_instance1.overload1arg((double)arg12)\n" gdb_expect { --- 342,347 ----