From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19939 invoked by alias); 24 Jan 2002 00:36:52 -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 19905 invoked from network); 24 Jan 2002 00:36:51 -0000 Received: from unknown (HELO localhost.cygnus.com) (216.138.202.10) by sources.redhat.com with SMTP; 24 Jan 2002 00:36:51 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id 8D35F3D59; Wed, 23 Jan 2002 19:36:50 -0500 (EST) Message-ID: <3C4F5722.5040508@cygnus.com> Date: Wed, 23 Jan 2002 16:36:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.7) Gecko/20020103 X-Accept-Language: en-us MIME-Version: 1.0 To: Daniel Berlin Cc: Jim Blandy , Petr Sorfa , Daniel Jacobowitz , gdb@sources.redhat.com Subject: Re: Upcoming DWARF 3 and FORTRAN95 patches for 5.1.1 or 5.2? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-01/txt/msg00275.txt.bz2 > 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. > > > I think i mentioned this a few times as the cleanest way to also be able > to get rid of psymtabs for dwarf2, and use .debug_aranges/pubnames/etc. > It would let you make stabs use psymtabs internally, and make dwarf2 less > memory intensive and faster to load. http://sources.redhat.com/ml/gdb-patches/2001-03/msg00568.html Andrew