From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12117 invoked by alias); 17 Jan 2007 04:50:19 -0000 Received: (qmail 12103 invoked by uid 22791); 17 Jan 2007 04:50:18 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate2.de.ibm.com (HELO mtagate2.de.ibm.com) (195.212.29.151) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 17 Jan 2007 04:50:12 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate2.de.ibm.com (8.13.8/8.13.8) with ESMTP id l0H4o94W102296 for ; Wed, 17 Jan 2007 04:50:09 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.2) with ESMTP id l0H4o8uH2986228 for ; Wed, 17 Jan 2007 05:50:08 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l0H4o8gA025226 for ; Wed, 17 Jan 2007 05:50:08 +0100 Received: from [9.152.248.39] (dyn-9-152-248-39.boeblingen.de.ibm.com [9.152.248.39]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id l0H4o8ho025220; Wed, 17 Jan 2007 05:50:08 +0100 Message-ID: <45ADAAFD.20508@de.ibm.com> Date: Wed, 17 Jan 2007 04:50:00 -0000 From: Markus Deuling User-Agent: Thunderbird 1.5.0.9 (X11/20070102) MIME-Version: 1.0 To: Mark Kettenis CC: gdb-patches@sourceware.org Subject: Re: [RFA]: gdb/testsuite/gdb.arch/altivec-regs.exp Broken testcase References: <45AC7532.6010108@de.ibm.com> <200701162128.l0GLS1U4024821@brahms.sibelius.xs4all.nl> In-Reply-To: <200701162128.l0GLS1U4024821@brahms.sibelius.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00376.txt.bz2 Hi Mark, Mark Kettenis schrieb: >> Date: Tue, 16 Jan 2007 07:48:18 +0100 >> From: Markus Deuling >> >> Hi, >> >> I'm referring to http://sourceware.org/ml/gdb-patches/2007-01/msg00353.html. >> >> It seems that the output from "show endian" has changed since the last time someone took a >> look into it :-) So I added a "re" to the test. >> >> Do we need this branch or can I delete it ? >>>> -re "(The target endianness is set automatically .currently )(big|little)( endian.*)$gdb_prompt $" { >>>> pass "endianness" >>>> set endianness $expect_out(2,string) >>>> } > > This worries me a bit. So in the past we were able to determine the > endianness automagically, but now we don't? Do we understand why? > Doesn't this mean that something is broken that worked before? > > I looked into arch-utils.c. We still need that branch above. But there are also changes, so that we need to recognize "_("The target is assumed to be big endian\n"));". The variable "endianess" should either contain "big" or be empty in that testcase. So the way it's now with that patch should work, I think. Regards, Markus -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com