* [commit/testsuite/c++] rtti.exp: accept current warnings
@ 2003-12-06 4:39 Michael Elizabeth Chastain
2003-12-08 17:12 ` David Carlton
0 siblings, 1 reply; 3+ messages in thread
From: Michael Elizabeth Chastain @ 2003-12-06 4:39 UTC (permalink / raw)
To: carlton; +Cc: gdb-patches
This patch updates rtti.exp to accept the new wording of the warning
from cp_lookup_rtti_type. This is fallout from my cp_lookup_rtti_type
patch.
Tested on: native i686-pc-linux-gnu, gcc 2.95.3 and gcc 3.3.2,
dwarf-2 and stabs+.
One KFAIL with gcc 2.95.3 has changed from gdb/57 to gdb/488.
I am committing this now.
2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
* gdb.cp/rtti.exp: Accept current wording of warning
from cp_lookup_rtti_type.
Index: rtti.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.cp/rtti.exp,v
retrieving revision 1.1
diff -c -3 -p -r1.1 rtti.exp
*** rtti.exp 23 Aug 2003 03:55:59 -0000 1.1
--- rtti.exp 6 Dec 2003 04:35:03 -0000
*************** gdb_breakpoint [gdb_get_line_number "con
*** 82,88 ****
--- 82,93 ----
gdb_continue_to_breakpoint "end of constructors"
gdb_test_multiple "print *e1" "print *e1" {
+ -re "warning: RTTI symbol not found for class 'n1::D1'.*$gdb_prompt $" {
+ # gdb HEAD 2003-12-05
+ kfail "gdb/488" "print *e1"
+ }
-re "warning: can't find class named `n1::D1', as given by C\\+\\+ RTTI.*$gdb_prompt $" {
+ # gdb 6.0
kfail "gdb/488" "print *e1"
}
-re "\\$\[0-9\]* = {<n1::Base1> = .*}\r\n$gdb_prompt $" {
*************** gdb_test_multiple "print *e1" "print *e1
*** 108,114 ****
--- 113,124 ----
# that fail branch to an xfail.
gdb_test_multiple "print *e2" "print *e2" {
+ -re "warning: RTTI symbol not found for class 'n2::D2'.*$gdb_prompt $" {
+ # gdb HEAD 2003-12-05
+ kfail "gdb/488" "print *e2"
+ }
-re "warning: can't find class named `n2::D2', as given by C\\+\\+ RTTI.*$gdb_prompt $" {
+ # gdb 6.0
kfail "gdb/488" "print *e2"
}
-re "\\$\[0-9\]* = <incomplete type>\r\n$gdb_prompt $" {
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [commit/testsuite/c++] rtti.exp: accept current warnings
2003-12-06 4:39 [commit/testsuite/c++] rtti.exp: accept current warnings Michael Elizabeth Chastain
@ 2003-12-08 17:12 ` David Carlton
0 siblings, 0 replies; 3+ messages in thread
From: David Carlton @ 2003-12-08 17:12 UTC (permalink / raw)
To: Michael Elizabeth Chastain; +Cc: gdb-patches
On Fri, 5 Dec 2003 23:39:47 -0500 (EST), mec.gnu@mindspring.com (Michael Elizabeth Chastain) said:
> gdb_test_multiple "print *e1" "print *e1" {
> + -re "warning: RTTI symbol not found for class 'n1::D1'.*$gdb_prompt $" {
> + # gdb HEAD 2003-12-05
> + kfail "gdb/488" "print *e1"
> + }
> -re "warning: can't find class named `n1::D1', as given by C\\+\\+ RTTI.*$gdb_prompt $" {
> + # gdb 6.0
> kfail "gdb/488" "print *e1"
> }
Why not delete the old message? It's not in GDB's source code any
more.
David Carlton
carlton@kealia.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [commit/testsuite/c++] rtti.exp: accept current warnings
@ 2003-12-08 17:27 Michael Elizabeth Chastain
0 siblings, 0 replies; 3+ messages in thread
From: Michael Elizabeth Chastain @ 2003-12-08 17:27 UTC (permalink / raw)
To: carlton, mec.gnu; +Cc: gdb-patches
dc> Why not delete the old message?
dc> It's not in GDB's source code any more.
Sometimes I like to run gdb 6.0 with the same test suite as gdb HEAD,
so that I can distinguish between bugs that are in both gdb 6.0
and gdb HEAD versus bugs that are new in gdb HEAD.
Michael C
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-12-08 17:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-06 4:39 [commit/testsuite/c++] rtti.exp: accept current warnings Michael Elizabeth Chastain
2003-12-08 17:12 ` David Carlton
2003-12-08 17:27 Michael Elizabeth Chastain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox