This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] testsuite: Fix x32, introduce is_amd64_regs_target
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: jan dot kratochvil at redhat dot com
- Cc: pedro at codesourcery dot com, hjl dot tools at gmail dot com, gdb-patches at sourceware dot org
- Date: Thu, 8 Sep 2011 19:47:10 +0200 (CEST)
- Subject: Re: [patch] testsuite: Fix x32, introduce is_amd64_regs_target
- References: <20110908174332.GA15583@host1.jankratochvil.net>
> Date: Thu, 8 Sep 2011 19:43:32 +0200
> From: Jan Kratochvil <jan.kratochvil@redhat.com>
>
> 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!