public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: David Carlton <carlton@math.stanford.edu>
To: gdb <gdb@sources.redhat.com>
Cc: Tom Tromey <tromey@redhat.com>,
	Michael Elizabeth Chastain <mec@shout.net>
Subject: Re: break jmisc.main
Date: Thu, 13 Mar 2003 20:54:00 -0000	[thread overview]
Message-ID: <ro1adfzkmwy.fsf@jackfruit.Stanford.EDU> (raw)
In-Reply-To: <ro1el5bknmg.fsf@jackfruit.Stanford.EDU>

On 13 Mar 2003 12:39:03 -0800, David Carlton <carlton@math.stanford.edu> said:

> So my guess is that, somewhere, a demangler is getting
> called in a situation where the symbol isn't yet identified as a
> Java symbol, so the C++ demangler gets used.  Do the minsym readers
> reliably know the language of the minsyms they're creating?  If
> not, then we could be getting the bad value there and caching it
> with the new demangling code, so the bad value remains when the
> symbol table is setting the symbol's name.

To be specific, in prim_record_minimal_symbol_and_info, we see:

  SYMBOL_LANGUAGE (msymbol) = language_auto;
  SYMBOL_SET_NAMES (msymbol, (char *)name, strlen (name), objfile);

Oops.

David Carlton
carlton@math.stanford.edu

  reply	other threads:[~2003-03-13 20:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-13 20:39 David Carlton
2003-03-13 20:54 ` David Carlton [this message]
2003-03-13 20:57 ` Daniel Jacobowitz
2003-03-13 21:07   ` Daniel Jacobowitz
2003-03-13 21:16   ` David Carlton
2003-03-13 21:22     ` Daniel Jacobowitz
2003-03-13 23:32     ` David Carlton
2003-03-13 23:36       ` Daniel Jacobowitz
2003-03-14  0:17         ` David Carlton
2003-03-14  4:18           ` Daniel Jacobowitz
2003-03-13 23:04   ` Tom Tromey
2003-03-13 22:59 ` Tom Tromey
2003-03-13 23:03   ` Daniel Jacobowitz
2003-03-14 15:09 Michael Elizabeth Chastain

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=ro1adfzkmwy.fsf@jackfruit.Stanford.EDU \
    --to=carlton@math.stanford.edu \
    --cc=gdb@sources.redhat.com \
    --cc=mec@shout.net \
    --cc=tromey@redhat.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).