From: Joel Brobecker <brobecker@adacore.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch] Fix initial language with -readnow, regressed by: RFC: add DWARF index support
Date: Wed, 28 Sep 2011 23:12:00 -0000 [thread overview]
Message-ID: <20110928230742.GB19246@adacore.com> (raw)
In-Reply-To: <20110928220344.GA17977@host1.jankratochvil.net>
> if you use -readnow the common autodetection
> The current source language is "auto; currently c++".
> fails
> The current source language is "auto; currently c".
> causing various C++ handling problems.
Umpf.
> + /* OBJF_READNOW does not provide any index to look up above. */
> + if (readnow_seen)
> + {
> + sym = lookup_symbol (name, NULL, VAR_DOMAIN, NULL);
> + if (sym)
> + return sym->symtab->filename;
> + }
I keep dreaming of a world where there is one interface for lookups
and we don't have to worry whether there is an index, or psymtabs,
or whatever...
--
Joel
next prev parent reply other threads:[~2011-09-28 23:08 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-28 23:08 Jan Kratochvil
2011-09-28 23:12 ` Joel Brobecker [this message]
2011-09-28 23:20 ` Jan Kratochvil
2011-09-29 15:33 ` [patch#2] " Jan Kratochvil
2011-10-03 19:56 ` Tom Tromey
2011-10-09 18:38 ` Jan Kratochvil
2011-10-03 19:49 ` [patch] " Tom Tromey
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=20110928230742.GB19246@adacore.com \
--to=brobecker@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@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