From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7072 invoked by alias); 18 Sep 2009 14:11:45 -0000 Received: (qmail 7064 invoked by uid 22791); 18 Sep 2009 14:11:44 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 18 Sep 2009 14:11:41 +0000 Received: from brahms.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3) with ESMTP id n8IEArBn032155; Fri, 18 Sep 2009 16:10:53 +0200 (CEST) Received: (from kettenis@localhost) by brahms.sibelius.xs4all.nl (8.14.3/8.14.3/Submit) id n8IEArWp004477; Fri, 18 Sep 2009 16:10:53 +0200 (CEST) Date: Fri, 18 Sep 2009 14:11:00 -0000 Message-Id: <200909181410.n8IEArWp004477@brahms.sibelius.xs4all.nl> From: Mark Kettenis To: uweigand@de.ibm.com, brobecker@adacore.com, teawater@gmail.com, gdb-patches@sourceware.org, msnyder@vmware.com In-reply-to: <200909181407.n8IE7ktV013370@brahms.sibelius.xs4all.nl> (message from Mark Kettenis on Fri, 18 Sep 2009 16:07:46 +0200 (CEST)) Subject: Re: [RFA] Check solib bfd arch References: <200909181250.n8ICoMmD010948@d12av02.megacenter.de.ibm.com> <200909181407.n8IE7ktV013370@brahms.sibelius.xs4all.nl> 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: 2009-09/txt/msg00590.txt.bz2 > Date: Fri, 18 Sep 2009 16:07:46 +0200 (CEST) > From: Mark Kettenis > > > Date: Fri, 18 Sep 2009 14:50:22 +0200 (CEST) > > From: "Ulrich Weigand" > > > > In your particular case, the result of compatible appears to indicate > > that the target architecture sparc:v9 *cannot* run code written for > > the architecture sparc:v9a; if this were true (I'm not sure about > > such sparc architecture details), then it would be correct to reject > > those shared libraries ... > > Yes, v9a is an extension to v9, so a target that only has support for > v9 cannot run v9a binaries. > > I suppose we needsto add the necessary magic to sparc-sol-nat.c to set > the proper architecture. I'll need to figure out how to extract that > information from the system. Is it possible to create a target > description that just contains the architecture and not all the > register stuff? Oh, and for 7.0 I think we should simply disable that check.