From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27680 invoked by alias); 31 Jul 2003 18:22:23 -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 27668 invoked from network); 31 Jul 2003 18:22:23 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 31 Jul 2003 18:22:23 -0000 Received: from drow by nevyn.them.org with local (Exim 4.20 #1 (Debian)) id 19iI4B-00035s-Jx; Thu, 31 Jul 2003 14:22:19 -0400 Date: Thu, 31 Jul 2003 18:22:00 -0000 From: Daniel Jacobowitz To: "H. J. Lu" Cc: GDB Subject: Re: A hack for DW_FORM_ref_addr Message-ID: <20030731182219.GA9271@nevyn.them.org> Mail-Followup-To: "H. J. Lu" , GDB References: <20030730214252.GA26082@lucon.org> <20030730214503.GA15350@nevyn.them.org> <20030730215227.GA26318@lucon.org> <20030730215509.GA15640@nevyn.them.org> <20030731051653.GB1170@lucon.org> <20030731161619.GA12251@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030731161619.GA12251@lucon.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-07/txt/msg00374.txt.bz2 On Thu, Jul 31, 2003 at 09:16:19AM -0700, H. J. Lu wrote: > On Wed, Jul 30, 2003 at 10:16:53PM -0700, H. J. Lu wrote: > > > > > > > > While waiting for your new DWARF reader, I will see how my hack > > > > goes :-(. > > > > > > Since the die table is hashed by offset (isn't it?), presumably very > > > badly. > > > > It is OK for different compilation units within the same .debug_info > > section. > > > > > > FYI, this is the hack I am going to try. It may be safe, but it's unacceptable. Take a look at the memory usage requirements for -readnow, if libc.so.6 has debugging information. You've just eaten probably 200MB of RAM. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer