From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23437 invoked by alias); 7 Apr 2006 14:57:03 -0000 Received: (qmail 23423 invoked by uid 22791); 7 Apr 2006 14:57:03 -0000 X-Spam-Check-By: sourceware.org Received: from mail.artimi.com (HELO SERRANO.CAM.ARTIMI.COM) (217.40.213.68) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Apr 2006 14:57:01 +0000 Received: from mail.artimi.com ([192.168.1.3]) by SERRANO.CAM.ARTIMI.COM with Microsoft SMTPSVC(6.0.3790.1830); Fri, 7 Apr 2006 15:56:58 +0100 Received: from rainbow ([192.168.1.165]) by mail.artimi.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 7 Apr 2006 15:56:54 +0100 From: "Dave Korn" To: "'Daniel Jacobowitz'" , "'Josh Keller'" Cc: , "'Reuben Johnston'" , Subject: RE: Internal Error in GDB (was: ld includes entire archive (.a) when compiling .elf file) Date: Fri, 07 Apr 2006 14:59:00 -0000 Message-ID: <000601c65a53$8409ad90$a501a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <20060407143449.GA22250@nevyn.them.org> Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00115.txt.bz2 On 07 April 2006 15:35, Daniel Jacobowitz wrote: > On Fri, Apr 07, 2006 at 10:33:46AM -0400, Josh Keller wrote: >> Is there any way that I can disable these messages so that I can debug >> more easily? > > I don't think so. :) Why, are you saying that building gdb from source isn't easy? /src/gdb/symtab.c, line 1919: --------------------------------------- s = NULL; ps = find_pc_sect_psymtab (pc, section); if (ps) { if (ps->readin) /* Might want to error() here (in case symtab is corrupt and will cause a core dump), but maybe we can successfully continue, so let's not. */ warning (_("\ (Internal error: pc 0x%s in read in psymtab, but not in symtab.)\n"), paddr_nz (pc)); s = PSYMTAB_TO_SYMTAB (ps); } return (s); --------------------------------------- Yow. If you delete the warning() call, watch out for the un-braced if conditional, it's easy to miss one of those when there's a comment in the way like that. cheers, DaveK -- Can't think of a witty .sigline today....