From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18472 invoked by alias); 8 Apr 2005 18:48:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 18429 invoked from network); 8 Apr 2005 18:48:41 -0000 Received: from unknown (HELO priv-edtnes28.telusplanet.net) (199.185.220.223) by sourceware.org with SMTP; 8 Apr 2005 18:48:41 -0000 Received: from takamaka.act-europe.fr ([142.179.108.108]) by priv-edtnes28.telusplanet.net (InterMail vM.6.01.04.00 201-2131-118-20041027) with ESMTP id <20050408184840.LXQV25496.priv-edtnes28.telusplanet.net@takamaka.act-europe.fr>; Fri, 8 Apr 2005 12:48:40 -0600 Received: by takamaka.act-europe.fr (Postfix, from userid 507) id CF01047DC0; Fri, 8 Apr 2005 11:48:39 -0700 (PDT) Date: Fri, 08 Apr 2005 18:48:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com, Elena Zannoni , Manoj Iyer Subject: Re: [rfa] Make the partial DIE cache more robust Message-ID: <20050408184839.GV14120@adacore.com> References: <20050407142959.GA9927@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050407142959.GA9927@nevyn.them.org> User-Agent: Mutt/1.4i X-SW-Source: 2005-04/txt/msg00072.txt.bz2 > 2005-04-07 Daniel Jacobowitz > > * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to > 30 bits. Add load_all_dies flag. > (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set. > Load DW_TAG_member by default. Remove internal_error call. > (find_partial_die): Reload the compilation unit if we can not find > a DIE in the cache. Call internal_error here if we still can not > find the DIE. (I know I can't approve patches, but it looks great). If it helps, I can see if I can merge it into 6.3 and give it a swirl with our Ada compiler and our Ada examples, where this will likely be useful. -- Joel