From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4483 invoked by alias); 8 Jul 2010 13:52:22 -0000 Received: (qmail 4466 invoked by uid 22791); 8 Jul 2010 13:52:22 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-pw0-f41.google.com (HELO mail-pw0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Jul 2010 13:51:58 +0000 Received: by pwi8 with SMTP id 8so791439pwi.0 for ; Thu, 08 Jul 2010 06:51:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.148.10 with SMTP id v10mr9909679wfd.103.1278597115447; Thu, 08 Jul 2010 06:51:55 -0700 (PDT) Received: by 10.142.231.8 with HTTP; Thu, 8 Jul 2010 06:51:55 -0700 (PDT) In-Reply-To: <201007081115.o68BFm50023408@d12av02.megacenter.de.ibm.com> References: <201007081115.o68BFm50023408@d12av02.megacenter.de.ibm.com> Date: Thu, 08 Jul 2010 13:52:00 -0000 Message-ID: Subject: Re: support biarch gcore? From: "H.J. Lu" To: Ulrich Weigand Cc: Mark Kettenis , jan.kratochvil@redhat.com, Jon.Zhou@jdsu.com, gdb@sourceware.org, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2010-07/txt/msg00148.txt.bz2 On Thu, Jul 8, 2010 at 4:15 AM, Ulrich Weigand wrote: > H.J. Lu wrote: > >> It works. =A0Here is a patch to add a testcase. =A0OK to install? > > Maybe I'm missing something, but it looks like this is an identical > copy of the gcore.exp test, except that the executable is built > with -m32, right? > > What does this test check that wouldn't already be checked by running > =A0make check RUNTESTFLAGS=3D"--target_board=3D'unix/-m32' gcore.exp" > ? > > Since you should be running the full -m32 testsuite anyway if you care > about the bi-arch debugger, I don't think we want to duplicate this > test case for no real gain ... > 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 } */ --=20 H.J.