From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2842 invoked by alias); 21 Jul 2010 22:45:57 -0000 Received: (qmail 2827 invoked by uid 22791); 21 Jul 2010 22:45:56 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Jul 2010 22:45:52 +0000 Received: (qmail 13896 invoked from network); 21 Jul 2010 22:45:50 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 21 Jul 2010 22:45:50 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.69) (envelope-from ) id 1Obi2v-0006QD-HH; Wed, 21 Jul 2010 22:45:49 +0000 Date: Wed, 21 Jul 2010 22:45:00 -0000 From: "Joseph S. Myers" To: "H.J. Lu" cc: Ulrich Weigand , Mark Kettenis , jan.kratochvil@redhat.com, Jon.Zhou@jdsu.com, gdb@sourceware.org, gdb-patches@sourceware.org Subject: Re: support biarch gcore? In-Reply-To: Message-ID: References: <201007081115.o68BFm50023408@d12av02.megacenter.de.ibm.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-07/txt/msg00078.txt.bz2 On Thu, 8 Jul 2010, H.J. Lu wrote: > Very good point. There are some arch specific tests which are either > 32bit or 64bit. Currently, we check target. It doesn't work -m32. We > need something like > > /* { dg-require-effective-target lp64 } */ > /* { dg-require-effective-target ilp32 } */ I noted the issue with GDB testcases hardcoding target name tests in a previous discussion , and I think adopting GCC-style effective target support would be a good solution. -- Joseph S. Myers joseph@codesourcery.com