From: Fred Fish <fnf@fred.ninemoons.com>
To: gdb-patches@sources.redhat.com
Cc: fnf@redhat.com
Subject: [RFA] Remove some obsolete gcc xfails from overload.exp
Date: Mon, 07 Jan 2002 13:10:00 -0000 [thread overview]
Message-ID: <200201072108.g07L8ps30440@fred.ninemoons.com> (raw)
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 <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)
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 ----
next reply other threads:[~2002-01-07 21:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-07 13:10 Fred Fish [this message]
2002-01-07 13:24 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200201072108.g07L8ps30440@fred.ninemoons.com \
--to=fnf@fred.ninemoons.com \
--cc=fnf@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox