From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26106 invoked by alias); 22 Aug 2003 20:51:17 -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 26097 invoked from network); 22 Aug 2003 20:51:16 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 22 Aug 2003 20:51:16 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu-dmz.redhat.com [172.16.52.200]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h7MKpGl25279 for ; Fri, 22 Aug 2003 16:51:16 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id h7MKpFL17693 for ; Fri, 22 Aug 2003 16:51:15 -0400 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id h7MKp9w07367; Fri, 22 Aug 2003 13:51:09 -0700 Message-ID: <3F46823D.2070006@redhat.com> Date: Fri, 22 Aug 2003 20:51:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "J. Johnston" CC: gdb-patches@sources.redhat.com Subject: Re: RFA: patch to ignore dump.exp for ia64 References: <3F4673A0.3040507@redhat.com> In-Reply-To: <3F4673A0.3040507@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-08/txt/msg00406.txt.bz2 J. Johnston wrote: > The dump.exp testcase doesn't run on ia64 because a number of the output > formats > tested do not handle 64-bit addresses. The following patch causes the test > to be ignored for ia64. I tried unsuccessfully to move the data below the > 32-bit line as is done for the alpha. > > Ok to commit? If so, ok for gdb 6.0? You couldn't just make it skip the bits that don't work for 64? Surely some of it works, say the elf parts? > > -- Jeff J. > > 2003-08-22 Jeff Johnston > > * gdb.base/dump.exp: Skip for ia64. > > > ------------------------------------------------------------------------ > > Index: gdb.base/dump.exp > =================================================================== > RCS file: /cvs/src/src/gdb/testsuite/gdb.base/dump.exp,v > retrieving revision 1.3 > diff -u -r1.3 dump.exp > --- gdb.base/dump.exp 2 Jun 2003 15:51:24 -0000 1.3 > +++ gdb.base/dump.exp 22 Aug 2003 19:45:23 -0000 > @@ -39,6 +39,11 @@ > lappend options "additional_flags=-Wl,-taso" > } > > +if [istarget "ia64*-*-*"] then { > + # SREC etc cannot handle 64-bit addresses. Skip the test > + return 0; > +} > + > 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." > }