public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: sami wagiaalla <swagiaal@redhat.com>
To: gdb-patches@sourceware.org
Subject: Re: [patch] stabs assertion failure  symbol_get_demangled_name
Date: Tue, 03 Aug 2010 17:48:00 -0000	[thread overview]
Message-ID: <4C585648.40807@redhat.com> (raw)
In-Reply-To: <4C509011.2040207@redhat.com>


> ...there other case, and for
> those I changed the assertion into an if statement that returns null
> since symbol_natural_name depends on symbol_get_demangled_name to return
> null in order to fall back to gsymbol->name.
>

I looked into this some more. At least of of the other cases occurs 
when, during symbol construction, the stabs reader uses 
SYMBOL_SET_LINKAGE_NAME bypassing symbol_set_names.

by removing the assertion eventually the name that was set through 
SYMBOL_SET_LINKAGE_NAME (gsymbol->name) will be returned.

The other option is to eliminate the use of SYMBOL_SET_LINKAGE_NAME.

      parent reply	other threads:[~2010-08-03 17:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-28 20:16 sami wagiaalla
2010-08-03 16:59 ` Pedro Alves
2010-08-03 17:48 ` sami wagiaalla [this message]

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=4C585648.40807@redhat.com \
    --to=swagiaal@redhat.com \
    --cc=gdb-patches@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).