Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "Ulrich Weigand" <uweigand@de.ibm.com>
To: drow@false.org (Daniel Jacobowitz)
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] gdbserver support for e500 / altivec
Date: Tue, 16 Oct 2007 22:22:00 -0000	[thread overview]
Message-ID: <200710162209.l9GM9WsD014935@d12av02.megacenter.de.ibm.com> (raw)
In-Reply-To: <20071005180207.GA4545@caradoc.them.org> from "Daniel Jacobowitz" at Oct 05, 2007 02:02:07 PM

Dan Jacobowitz wrote:

> 	* configure.srv: Use alternate register sets for powerpc64-*-linux*
> 	with AltiVec, powerpc-*-linux* with AltiVec, and powerpc-*-linux*
> 	with SPE.

This uses a configure-time check whether __ALTIVEC__ is defined.  However,
GCC for PowerPC by default does not define __ALTIVEC__, it does so only
when using the -maltivec flag.  In any case, this is rather independent of
whether the target system supports AltiVec or not ...

Why does this need to be a configure check in the first place?  Wouldn't
it be much preferable if you could build a single gdbserver binary that
would report the properties of the system it happens to be running on?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


  parent reply	other threads:[~2007-10-16 22:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05 18:02 Daniel Jacobowitz
2007-10-15 20:22 ` Daniel Jacobowitz
2007-10-16 22:22 ` Ulrich Weigand [this message]
2007-10-17  1:02   ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200710162209.l9GM9WsD014935@d12av02.megacenter.de.ibm.com \
    --to=uweigand@de.ibm.com \
    --cc=drow@false.org \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox