From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6590 invoked by alias); 24 Jan 2002 01:19:09 -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 6544 invoked from network); 24 Jan 2002 01:19:07 -0000 Received: from unknown (HELO dberlin.org) (64.246.6.106) by sources.redhat.com with SMTP; 24 Jan 2002 01:19:07 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by dberlin.org (8.11.6/8.11.6) with ESMTP id g0O1IQn20868; Wed, 23 Jan 2002 20:18:26 -0500 Date: Wed, 23 Jan 2002 17:19:00 -0000 From: Daniel Berlin To: Daniel Jacobowitz cc: Jim Blandy , Petr Sorfa , Subject: Re: Upcoming DWARF 3 and FORTRAN95 patches for 5.1.1 or 5.2? In-Reply-To: <20020123193510.A3794@nevyn.them.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-01/txt/msg00279.txt.bz2 On Wed, 23 Jan 2002, Daniel Jacobowitz wrote: > On Wed, Jan 23, 2002 at 06:43:21PM -0500, Jim Blandy wrote: > > Another approach occurred to me just now that I wish I had thought of > > when Daniel B.'s patch first appeared. If the core of GDB could > > define a structure of functions (resembling `struct cp_abi_ops', > > `struct target_ops', etc.) that allowed a debug reader to provide its > > own set of functions for finding variables, describing their locations > > in English, and everything else we do with `enum address_class' now, > > then that would make it easy and clean to use straight Dwarf 2 > > location expressions, without any translation into an allegedly > > "neutral" representation, and without contaminating the core of GDB. > > > > (This would also allow us to move some odd HP-UX-specific stuff like > > LOC_THREAD_LOCAL_STATIC out of the GDB core and into an HP-specific > > module.) > > Yes! Yes yes yes yes yes yes yes! > > (I like it. A lot. We should discuss details of this.) I could swear we did once, but maybe it's all in my head. It's one of the things i was working on before i stopped working on gdb, along with the type system rewrite (which is still on a branch, i never got around to creating a branch for the former). No, i have the remnants of a tree where i changed symbol lookup and variable evaluation to go through the symbol readers through a high level interface to "debug info". It doesn't compile though (I never finished converting the stabs reader it looks like), and it's based on gdb 5.0, so it's probably not worth tarring it all up and throwing it somewhere. --Dan