From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 958 invoked by alias); 16 Oct 2007 22:09:50 -0000 Received: (qmail 948 invoked by uid 22791); 16 Oct 2007 22:09:48 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate8.de.ibm.com (HELO mtagate8.de.ibm.com) (195.212.29.157) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 16 Oct 2007 22:09:35 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate8.de.ibm.com (8.13.8/8.13.8) with ESMTP id l9GM9Wdt370060 for ; Tue, 16 Oct 2007 22:09:32 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.5) with ESMTP id l9GM9WXO1732806 for ; Wed, 17 Oct 2007 00:09:32 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id l9GM9WRt014938 for ; Wed, 17 Oct 2007 00:09:32 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id l9GM9WsD014935; Wed, 17 Oct 2007 00:09:32 +0200 Message-Id: <200710162209.l9GM9WsD014935@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 17 Oct 2007 00:09:32 +0200 Subject: Re: [patch] gdbserver support for e500 / altivec To: drow@false.org (Daniel Jacobowitz) Date: Tue, 16 Oct 2007 22:22:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org In-Reply-To: <20071005180207.GA4545@caradoc.them.org> from "Daniel Jacobowitz" at Oct 05, 2007 02:02:07 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: 2007-10/txt/msg00431.txt.bz2 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