From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27619 invoked by alias); 20 Nov 2003 18:44:32 -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 27606 invoked from network); 20 Nov 2003 18:44:30 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 20 Nov 2003 18:44:30 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id A00A62B8F; Thu, 20 Nov 2003 13:44:26 -0500 (EST) Message-ID: <3FBD0B8A.7060108@redhat.com> Date: Thu, 20 Nov 2003 18:44:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Carlton Cc: gdb-patches@sources.redhat.com Subject: Re: [commit] Recover from struct-return internal errors References: <3FBD02D6.7060702@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-11/txt/msg00426.txt.bz2 > On Thu, 20 Nov 2003 13:07:18 -0500, Andrew Cagney said: > > >> + -re "A problem internal to GDB has been detected" { >> + fail "${test} (GDB internal error 1)" >> + gdb_internal_error_resync >> + } > > > Could you get rid of some of these by using gdb_test_multiple instead > of send_gdb/gdb_expect? I haven't looked at structs.exp in detail, so > I don't have any idea how possible that might be. I've not really looked at gdb_test_multiple either so I guess we're even :-) I do know that I can't use "gdb_test" as additional processing is required dependant on the output. Andrew