From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15814 invoked by alias); 22 Oct 2004 19:53:28 -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 15751 invoked from network); 22 Oct 2004 19:53:27 -0000 Received: from unknown (209.128.65.135) by sourceware.org with QMTP; 22 Oct 2004 19:53:27 -0000 Received: (qmail 21010 invoked by uid 10); 22 Oct 2004 19:53:27 -0000 Received: (qmail 11344 invoked by uid 500); 22 Oct 2004 19:53:18 -0000 Mail-Followup-To: binutils@sources.redhat.com, gdb@sources.redhat.com, dk@artimi.com From: Ian Lance Taylor To: "Dave Korn" Cc: , Subject: Re: "Unrecognized demangle component" error References: Date: Sun, 24 Oct 2004 18:50:00 -0000 In-Reply-To: Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-10/txt/msg00406.txt.bz2 "Dave Korn" writes: > ---------------------------------------- > dk@mace /test> objdump -g macsim.exe > > macsim.exe: file format pei-i386 > > Unrecognized demangle component > ---------------------------------------- > > Wow. I've never before come across an error message that brings up so few > hits at google. That's probably because ILT only added it in January: > > http://sources.redhat.com/ml/binutils/2004-01/msg00192.html > > and I see from the following FIXME that it's not a big surprise that it > sometimes fails: > > + /* FIXME: These are demangle component types which we probably > + need to handle one way or another. */ I wonder which component it was. I should have had the error message print it out the number. It would probably also be friendlier to print a warning and then return debug_make_void_type (dhandle). > Anyway, I don't know a lot about the interactions round here, but I was > wondering if this problem could have had a knockon effect on gdb making it > lose track of the line tables. That is unlikely. The demangled name is used to determine the argument types and the return type of static methods. It is not used for anything involving line numbers. I don't know what is causing the line number trouble. Ian