From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17450 invoked by alias); 20 Sep 2004 16:41:26 -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 17435 invoked from network); 20 Sep 2004 16:41:25 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 20 Sep 2004 16:41:25 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1C9REC-0006BI-RK; Mon, 20 Sep 2004 12:41:24 -0400 Date: Mon, 20 Sep 2004 16:41:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com, jimb@redhat.com Subject: Re: [rfa/dwarf/doc] Inter-compilation-unit reference support for partial DIEs Message-ID: <20040920164124.GA23738@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com, jimb@redhat.com References: <20040420170855.GA31548@nevyn.them.org> <20040916211543.GA28956@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040916211543.GA28956@nevyn.them.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-09/txt/msg00314.txt.bz2 On Thu, Sep 16, 2004 at 05:15:43PM -0400, Daniel Jacobowitz wrote: > Doc changes already approved. Dwarf changes reposted with all > of Jim's feedback incorporated, as far as I can tell. Tested > i386-pc-linux-gnu, no regressions. > > Jim, did I get everything? Does it look OK now? Ping? > > -- > Daniel Jacobowitz > > 2004-09-16 Daniel Jacobowitz > > * Makefile.in (dwarf2read.o): Update dependencies. > * dwarf2read.c: Include "command.h" and "gdbcmd.h". > (struct dwarf2_per_objfile): Add all_comp_units, n_comp_units, > and read_in_chain. > (struct dwarf2_cu): Add read_in_chain, per_cu, last_used, > mark, and has_form_ref_addr. > (struct dwarf2_per_cu_data): New. > (dwarf2_max_cache_age): New. > (dwarf2_build_psymtabs_hard): Free cached compilation units > after loading. Create and manage the list of compilation units. > Remove unnecessary NULL initialization. Fix indentation. > (psymtab_to_symtab_1): Initialize all of CU. > (dwarf2_read_abbrevs): Set has_form_ref_addr. > (find_partial_die): Use dwarf2_find_containing_comp_unit > and load_comp_unit. > (free_stack_comp_unit): Update comments. Clear the per-cu > pointer. Handle aging. > (dwarf2_find_containing_comp_unit, free_cached_comp_units) > (age_cached_comp_units, free_one_cached_comp_unit) > (dwarf2_mark, dwarf2_clear_marks, create_all_comp_units) > (load_comp_unit, dwarf2_find_comp_unit, free_one_comp_unit) > (set_dwarf2_cmdlist, show_dwarf2_cmdlist, set_dwarf2_cmd) > (show_dwarf2_cmd): New. > (_initialize_dwarf2_read): Provide "maint set dwarf2 max-cache-age" > and "maint show dwarf2 max-cache-age". > * gdbcmd.h (maintenance_set_cmdlist, maintenance_show_cmdlist): New > externs. > * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): Make > global. > > 2004-09-16 Daniel Jacobowitz > > * gdb.texinfo (Maintenance Commands): Document "maint set dwarf2 > max-cache-age" and "maint show dwarf2 max-cache-age". -- Daniel Jacobowitz