From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6156 invoked by alias); 6 Dec 2003 04:39:51 -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 6148 invoked from network); 6 Dec 2003 04:39:50 -0000 Received: from unknown (HELO hall.mail.mindspring.net) (207.69.200.60) by sources.redhat.com with SMTP; 6 Dec 2003 04:39:50 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by hall.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1ASUEO-0005PY-00; Fri, 05 Dec 2003 23:39:48 -0500 Received: by berman.michael-chastain.com (Postfix, from userid 502) id B0BB74B364; Fri, 5 Dec 2003 23:39:47 -0500 (EST) To: carlton@kealia.com Subject: [commit/testsuite/c++] rtti.exp: accept current warnings Cc: gdb-patches@sources.redhat.com Message-Id: <20031206043947.B0BB74B364@berman.michael-chastain.com> Date: Sat, 06 Dec 2003 04:39:00 -0000 From: mec.gnu@mindspring.com (Michael Elizabeth Chastain) X-SW-Source: 2003-12/txt/msg00236.txt.bz2 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 * 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\]* = { = .*}\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\]* = \r\n$gdb_prompt $" {