From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15825 invoked by alias); 21 Jul 2004 20:24:50 -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 15815 invoked from network); 21 Jul 2004 20:24:49 -0000 Received: from unknown (HELO sadr.equallogic.com) (66.155.203.134) by sourceware.org with SMTP; 21 Jul 2004 20:24:49 -0000 Received: from sadr.equallogic.com (localhost.localdomain [127.0.0.1]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id i6LKOmFl001136 for ; Wed, 21 Jul 2004 16:24:48 -0400 Received: from M30.equallogic.com (m30 [172.16.1.30]) by sadr.equallogic.com (8.12.8/8.12.8) with SMTP id i6LKOmsw001131 for ; Wed, 21 Jul 2004 16:24:48 -0400 Received: from pkoning.equallogic.com ([172.16.1.220]) by M30.equallogic.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 21 Jul 2004 16:24:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16638.53519.120891.159800@gargle.gargle.HOWL> Date: Wed, 21 Jul 2004 21:05:00 -0000 From: Paul Koning To: gdb@sources.redhat.com Subject: maint check-symtabs failures -- now what? X-OriginalArrivalTime: 21 Jul 2004 20:24:48.0288 (UTC) FILETIME=[C4D25A00:01C46F60] X-SW-Source: 2004-07/txt/msg00269.txt.bz2 I'm chasing an elusive problem in GDB 6.1 (slightly modified, but I don't think that's the issue here). The symptom is that one person's kernels (NetBSD plus a pile of stuff -- big file) generate these errors: (gdb) p main $1 = {} 0x804372d0warning: (Internal error: pc 0x804372d1 in read in psymtab, but not in symtab.)
Some functions suffer from this, some don't. The compiler is GCC 3.0.1 for MIPS, with stabs. What's odd is that most of us don't see this, but one person sees it a lot. I tried "maint check-symtabs". I figured that might help, but the trouble is that it spits out vast quantites of error messages. Many of them seem to have to do with type names. (The same command, applied to a program built with GCC 3.3.3, dwarf-2, also produces piles of errors -- but those seem to be ONLY for c++ mangled names.) I've looked at the symtab stuff in gdb but found it rather opaque, with three different "symbol tables" that seem to contain 3 different sets of stuff. So... a. Where do I look for this? b. Would using dwarf-2 be expected to help? c. Would a newer GDB be expected to help? paul