From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11319 invoked by alias); 9 Oct 2007 09:16:55 -0000 Received: (qmail 11312 invoked by uid 22791); 9 Oct 2007 09:16:54 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Oct 2007 09:16:50 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.1) with ESMTP id l999GmTp031731 for ; Tue, 9 Oct 2007 05:16:48 -0400 Received: from pobox-2.corp.redhat.com (pobox-2.corp.redhat.com [10.11.255.15]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l999GhOm019276; Tue, 9 Oct 2007 05:16:43 -0400 Received: from localhost.localdomain (vpn-6-23.fab.redhat.com [10.33.6.23]) by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l999Ggf1012333; Tue, 9 Oct 2007 05:16:42 -0400 Message-ID: <470B46F9.7020907@redhat.com> Date: Tue, 09 Oct 2007 09:16:00 -0000 From: Phil Muldoon User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Andrew Cagney CC: Frysk Hackers Subject: Re: ISA checks for factories References: <4703549C.30709@redhat.com> <4703F084.8050301@redhat.com> <470B3361.90608@redhat.com> In-Reply-To: <470B3361.90608@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q4/txt/msg00027.txt.bz2 Phil Muldoon wrote: > I'm still a little fuzzy on how it can be used to detected IA 32 on > 64, or PPC32 On 64? > Answering my own question. I looked at the code, and it appears that Task.getISA() will return the contextually correct ISA for the situation in hand. So for a 32bit process on x8664 it will return the 32 bit ISA and so on. Previously one had to instance check the ISA as a 32On64 ISA was returned explicitly. I'll rewrite the LinuxCorefileFactory to use this new method now. Regards Phil