From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1055 invoked by alias); 10 May 2002 03:08:45 -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 1037 invoked from network); 10 May 2002 03:08:44 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 10 May 2002 03:08:44 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 5C5623DB9; Thu, 9 May 2002 23:08:51 -0400 (EDT) Message-ID: <3CDB39C3.6030603@cygnus.com> Date: Thu, 09 May 2002 20:08:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc1) Gecko/20020429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jim Blandy , gdb-patches@sources.redhat.com Subject: Re: RFA: remember dwarf_line_size References: <20020509233145.E23A45EA11@zwingli.cygnus.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00317.txt.bz2 > The change I committed May 6 to dwarf2read.c introduced the new > function dwarf_decode_line_header. That contained a bunch of > consistency checks which assumed that dwarf_line_size is actually > preserved between the partial symbol scan and the full symbol read. > It isn't. BTW, > #define DWARF_ABBREV_BUFFER(p) (PST_PRIVATE(p)->dwarf_abbrev_buffer) > #define DWARF_ABBREV_SIZE(p) (PST_PRIVATE(p)->dwarf_abbrev_size) > #define DWARF_LINE_BUFFER(p) (PST_PRIVATE(p)->dwarf_line_buffer) > + #define DWARF_LINE_SIZE(p) (PST_PRIVATE(p)->dwarf_line_size) > #define DWARF_STR_BUFFER(p) (PST_PRIVATE(p)->dwarf_str_buffer) > #define DWARF_STR_SIZE(p) (PST_PRIVATE(p)->dwarf_str_size) > #define DWARF_MACINFO_BUFFER(p) (PST_PRIVATE(p)->dwarf_macinfo_buffer) I'm wondering if we even need these macros. Andrew