From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17265 invoked by alias); 8 Sep 2011 17:47:39 -0000 Received: (qmail 17256 invoked by uid 22791); 8 Sep 2011 17:47:37 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,TW_SV X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Sep 2011 17:47:24 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id p88HlCSW017669; Thu, 8 Sep 2011 19:47:12 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id p88HlA7B001155; Thu, 8 Sep 2011 19:47:10 +0200 (CEST) Date: Thu, 08 Sep 2011 18:22:00 -0000 Message-Id: <201109081747.p88HlA7B001155@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: jan.kratochvil@redhat.com CC: pedro@codesourcery.com, hjl.tools@gmail.com, gdb-patches@sourceware.org In-reply-to: <20110908174332.GA15583@host1.jankratochvil.net> (message from Jan Kratochvil on Thu, 8 Sep 2011 19:43:32 +0200) Subject: Re: [patch] testsuite: Fix x32, introduce is_amd64_regs_target References: <20110908174332.GA15583@host1.jankratochvil.net> 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: 2011-09/txt/msg00148.txt.bz2 > Date: Thu, 8 Sep 2011 19:43:32 +0200 > From: Jan Kratochvil > > On Thu, 08 Sep 2011 17:53:34 +0200, Pedro Alves wrote: > > I don't believe that triplet was ever accepted. > + > On Thu, 08 Sep 2011 17:57:04 +0200, Mark Kettenis wrote: > > Where? Neither the config.guess/config.sub in the gcc svn repo, nor > > the one in the src cvs repo will ever return such a triplet. > > OK, I Googled some posted patches and assumed it is the reality, I agree there > isn't x32 vendor in the FSF repositories. > > On Thu, 08 Sep 2011 18:01:41 +0200, H.J. Lu wrote: > > I am using x86_64-x32-linux* for x32. Instead, I > > am using x86_64-*-linux* with sizeof (long) == 4. > > Updated the comment to: > +# Return 1 if target has x86_64 registers - either amd64 or x32. > +# x32 target identifies as x86_64-*-linux*, therefore it cannot be determined > +# just from the target string. > +proc is_amd64_regs_target {} { > > Checked in. Thanks!