From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19979 invoked by alias); 25 Sep 2002 03:53:28 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 19970 invoked from network); 25 Sep 2002 03:53:27 -0000 Received: from unknown (HELO mail.cdt.org) (206.112.85.61) by sources.redhat.com with SMTP; 25 Sep 2002 03:53:27 -0000 Received: from dberlin.org (pool-138-88-0-100.res.east.verizon.net [138.88.0.100]) by mail.cdt.org (Postfix) with ESMTP id 4D648490061; Tue, 24 Sep 2002 23:30:22 -0400 (EDT) Received: from [192.168.0.252] (account dberlin HELO dberlin.org) by dberlin.org (CommuniGate Pro SMTP 4.0b9a) with ESMTP id 270218; Tue, 24 Sep 2002 23:53:25 -0400 Date: Tue, 24 Sep 2002 20:53:00 -0000 Subject: Re: suggestion for dictionary representation Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v546) Cc: David Carlton , Daniel Jacobowitz , gdb@sources.redhat.com To: Jim Blandy From: Daniel Berlin In-Reply-To: Message-Id: <57B90B56-D03A-11D6-AF7A-000393575BCC@dberlin.org> Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00397.txt.bz2 > > > But anyway, all this could be handled much better nowadays using Dwarf > 2 CFA and location lists. I've been saying that for years, but it > hasn't happened yet. Andrew has the CFI done now (I think?), and > Daniel B. has submitted a patch for location expressions (but not > location lists, tho they would be easy to add), but it's awaiting > revision while he works on law school. > I actually have the revisions necessary to do location lists, but it makes work of the location expression lists anyway (We just store range list mapping ranges to locexpr batons). It's literally nothing but a layer over that code that picks out the right baton(s) for the given pc, and calls the location functions for each baton. --Dan