From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22151 invoked by alias); 8 Aug 2007 12:24:15 -0000 Received: (qmail 22094 invoked by uid 22791); 8 Aug 2007 12:24:14 -0000 X-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS,TW_GC 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; Wed, 08 Aug 2007 12:24:09 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l78CO6o4004736 for ; Wed, 8 Aug 2007 08:24:06 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l78CO6oV031057 for ; Wed, 8 Aug 2007 08:24:06 -0400 Received: from [172.16.57.153] (multics.rdu.redhat.com [172.16.57.153]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l78CO6VW005696 for ; Wed, 8 Aug 2007 08:24:06 -0400 Subject: Re: LocationExpression From: Stan Cox To: Frysk List In-Reply-To: <1186568104.29962.5.camel@dijkstra.wildebeest.org> References: <1186545834.6921.14.camel@multics.rdu.redhat.com> <1186568104.29962.5.camel@dijkstra.wildebeest.org> Content-Type: text/plain Date: Wed, 08 Aug 2007 12:24:00 -0000 Message-Id: <1186575834.6921.33.camel@multics.rdu.redhat.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-1.fc7) 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-q3/txt/msg00277.txt.bz2 On Wed, 2007-08-08 at 12:15 +0200, Mark Wielaard wrote: > This doesn't compile on FC6. Thanks for catching it. Yea it was a typo for return null, meant to silence a warning with gcj 4.1.2 20070502. Didn't mean to throw it of course, but it compiled with that compiler. By the way, the current use of LocationExpression is in DebugInfoEvaluator.java#get. First it tries the get* methods in AccessMemory; this is for cases where a symbol is accessed by address or register+offset. If that fails then it tries the get* methods in AccessRegisters; this is for cases where a symbol is in a register. These are the only cases currently supported by LocationExpression.