From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28162 invoked by alias); 15 Sep 2002 20:39:40 -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 28155 invoked from network); 15 Sep 2002 20:39:39 -0000 Received: from unknown (HELO rwcrmhc51.attbi.com) (204.127.198.38) by sources.redhat.com with SMTP; 15 Sep 2002 20:39:39 -0000 Received: from ocean.lucon.org ([12.234.143.38]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020915203939.LGFC16829.rwcrmhc51.attbi.com@ocean.lucon.org>; Sun, 15 Sep 2002 20:39:39 +0000 Received: by ocean.lucon.org (Postfix, from userid 1000) id ADE23125D8; Sun, 15 Sep 2002 13:39:38 -0700 (PDT) Date: Sun, 15 Sep 2002 13:39:00 -0000 From: "H. J. Lu" To: Earl Chew , gdb@sources.redhat.com Subject: Re: Mystified by "Internal error: pc 0x89f21e10 read in psymtab, but not in symtab Message-ID: <20020915133938.B19112@lucon.org> References: <3D825BB5.48CFAFAB@agilent.com> <20020913220110.GA22097@nevyn.them.org> <3D8269C8.8E33C4AC@agilent.com> <20020913225151.GA24869@nevyn.them.org> <3D8270FF.3086EA5C@agilent.com> <20020914013314.GB31038@nevyn.them.org> <3D84AAAD.6090706@agilent.com> <20020915160306.GA31994@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020915160306.GA31994@nevyn.them.org>; from drow@mvista.com on Sun, Sep 15, 2002 at 12:03:06PM -0400 X-SW-Source: 2002-09/txt/msg00193.txt.bz2 On Sun, Sep 15, 2002 at 12:03:06PM -0400, Daniel Jacobowitz wrote: > > > My first suspect: > 2001-10-23 Jim Blandy > > Isolate STABS readers' use of the `textlow' and `texthigh' fields > of `struct partial_symtab' to only a few locations. This change > is not supposed to affect the way the values are computed, only > where they live. > > * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields > to the reader-specific structure. > * mdebugread.c (struct symloc): Same. > * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros. > * mdebugread.c (TEXTLOW, TEXTHIGH): Same. > * dbxread.c (dbx_symfile_read): After we've built all our partial > symbol tables, set each partial symtab's `textlow' and `texthigh' > fields from our reader-specific structure. > * mdebugread.c (mdebug_build_psymtabs): Same. > * dbxread.c (start_psymtab): Initialize the reader-specific > structure's `textlow' and `texthigh' from the new psymtab's. > * mdebugread.c (parse_partial_symbols, new_psymtab): Same. > * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use > the reader-specific `textlow' and `texthigh', not the generic > psymtab fields. > * mdebugread.c (parse_lines, parse_partial_symbols, > psymtab_to_symtab_1): Same. > * partial-stab.h: Same. > > I no longer remember what Jim was trying to accomplish with this > change, but it sounds like you're on the right track. You might want > to see if this patch is causing the problem. > > That patch is broken. See http://sources.redhat.com/ml/gdb/2002-03/msg00197.html http://sources.redhat.com/ml/gdb/2002-03/msg00202.html Unfortunately, no one seems to care. H.J.