From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2461 invoked by alias); 10 Jan 2002 17:54:50 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 2430 invoked from network); 10 Jan 2002 17:54:46 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sources.redhat.com with SMTP; 10 Jan 2002 17:54:46 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 784E83C2B; Thu, 10 Jan 2002 12:54:46 -0500 (EST) Message-ID: <3C3DD566.2070803@cygnus.com> Date: Thu, 10 Jan 2002 09:54:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Daniel Jacobowitz Cc: gdb@sources.redhat.com Subject: Re: help: dejagnu stumps me again References: <20020109224807.A24112@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00095.txt.bz2 > RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/demangle.exp,v > retrieving revision 1.1.1.4 > diff -u -r1.1.1.4 demangle.exp > --- demangle.exp 1999/09/09 00:00:27 1.1.1.4 > +++ demangle.exp 2002/01/10 03:42:29 > @@ -531,7 +531,18 @@ > test_demangling_exact "gnu: foo__I_4000000000000000000000000000000000000000000000000000000000000000000000000" "Can't demangle \"foo__I_4000000000000000000000000000000000000000000000000000000000000000000000000\"" > > ## 1999-04-19: "Fix from Dale Hawkins". Shouldn't segfault. > - test_demangling_exact "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator" "Can't demangle \"__thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator\"" > + # Accept even a dubious demangling; the string is ambiguous. > + send_gdb "maintenance demangle __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator\n" > + gdb_expect { > + -ex "virtual function thunk (delta:-64) for CosNaming::_proxy_NamingContext::_0RL__list(unsigned long, _CORBA_Unbounded_Sequence *&, CosNaming::BindingIterator *&)" > + { pass "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator" } > + -ex "Can't demangle \"__thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator\"" > + { pass "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator" } > + -re ".*$gdb_prompt $" > + { fail "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator" } > + timeout > + { fail "gnu: __thunk_64__0RL__list__Q29CosNaming20_proxy_NamingContextUlRPt25_CORBA_Unbounded_Sequence1ZQ29CosNaming7BindingRPQ29CosNaming15BindingIterator (timeout)" } > + } > } > An un anchored pattern such as ".*...." is bad. It sends expect into drug induced bliss while it tries to match everything. TCL is fun. expect well, deajgnu er ... Andrew