Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Dave Korn" <dk@artimi.com>
To: "'Ian Lance Taylor'" <ian@wasabisystems.com>
Cc: <binutils@sources.redhat.com>, <gdb@sources.redhat.com>
Subject: RE: "Unrecognized demangle component" error
Date: Mon, 25 Oct 2004 23:11:00 -0000	[thread overview]
Message-ID: <NUTMEGwZvIPNTAbAWFs000001fe@NUTMEG.CAM.ARTIMI.COM> (raw)
In-Reply-To: <m3y8hyo7gx.fsf@gossamer.airs.com>

> -----Original Message-----
> From: binutils-owner On Behalf Of Ian Lance Taylor
> Sent: 22 October 2004 20:53

> "Dave Korn" writes:
> 
> > --------------------<snip!>--------------------
> > dk@mace /test> objdump -g macsim.exe
> > 
> > macsim.exe:     file format pei-i386
> > 
> > Unrecognized demangle component
> > --------------------<snip!>--------------------
> > 
> >   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).

  OK, I quickly plumbed in those changes (using 2.15 release sources), and see
that they're all without exception references to type #34 which I make out to be
DEMANGLE_COMPONENT_FUNCTION_TYPE.  Ummm.  I would imagine that's a slightly
surprising result, perhaps?

> 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.

  Thanks Ian, I'll look into that one a bit further.

    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


  reply	other threads:[~2004-10-25 12:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 15:01 Dave Korn
2004-10-24 18:50 ` Ian Lance Taylor
2004-10-25 23:11   ` Dave Korn [this message]
2004-10-26  9:32     ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=NUTMEGwZvIPNTAbAWFs000001fe@NUTMEG.CAM.ARTIMI.COM \
    --to=dk@artimi.com \
    --cc=binutils@sources.redhat.com \
    --cc=gdb@sources.redhat.com \
    --cc=ian@wasabisystems.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox