From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28673 invoked by alias); 2 Jun 2003 13:39:48 -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 28645 invoked from network); 2 Jun 2003 13:39:47 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 2 Jun 2003 13:39:47 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h52DdlH17466 for ; Mon, 2 Jun 2003 09:39:47 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h52DdkI29311 for ; Mon, 2 Jun 2003 09:39:46 -0400 Received: from localhost.redhat.com (IDENT:Xz52Aq0N6Rep9uSECOCjokzLBwhbWec2@tooth.toronto.redhat.com [172.16.14.29]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h52Ddkb32266 for ; Mon, 2 Jun 2003 09:39:46 -0400 Received: by localhost.redhat.com (Postfix, from userid 469) id B7E5D2C43D; Mon, 2 Jun 2003 09:45:39 -0400 (EDT) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16091.21763.591279.913925@localhost.redhat.com> Date: Mon, 02 Jun 2003 13:39:00 -0000 To: Richard Henderson Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] fix dump.exp tests for alpha In-Reply-To: <20030602075810.GA7898@twiddle.net> References: <20030602075810.GA7898@twiddle.net> X-SW-Source: 2003-06/txt/msg00063.txt.bz2 Richard Henderson writes: > All of the "read it back in" tests failed because none of > the formats can handle 64-bit addresses, afaik. > > Adding the linker switch to force the application into > the low 31 bits allows all of the tests to pass. > > Ok? > Sure. elena > > r~ > > > * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch. > > Index: gdb.base/dump.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dump.exp,v > retrieving revision 1.2 > diff -c -p -d -r1.2 dump.exp > *** gdb.base/dump.exp 6 Feb 2003 06:36:24 -0000 1.2 > --- gdb.base/dump.exp 2 Jun 2003 07:52:44 -0000 > *************** set testfile "dump" > *** 31,38 **** > > set srcfile ${testfile}.c > set binfile ${objdir}/${subdir}/${testfile} > > ! if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {debug}] != "" } { > gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." > } > > --- 31,45 ---- > > set srcfile ${testfile}.c > set binfile ${objdir}/${subdir}/${testfile} > + set options {debug} > > ! if [istarget "alpha*-*-*"] then { > ! # SREC etc cannot handle 64-bit addresses. Force the test > ! # program into the low 31 bits of the address space. > ! lappend options "additional_flags=-Wl,-taso" > ! } > ! > ! if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable ${options}] != "" } { > gdb_suppress_entire_file "Testcase compile failed, so all tests in this file will automatically fail." > } >