From: ali_anwar <ali_anwar@codesourcery.com>
To: Tom Tromey <tromey@redhat.com>
Cc: Jan Kratochvil <jan.kratochvil@redhat.com>,
<gdb-patches@sourceware.org>, <keiths@redhat.com>
Subject: Re: warning: RTTI symbol not found for class
Date: Mon, 26 Nov 2012 20:53:00 -0000 [thread overview]
Message-ID: <50B3D633.4060709@codesourcery.com> (raw)
In-Reply-To: <50B3D4D3.7040603@codesourcery.com>
On 11/27/2012 01:45 AM, ali_anwar wrote:
> On 11/27/2012 12:23 AM, Tom Tromey wrote:
>>>>>>> "Ali" == ali anwar<ali_anwar@codesourcery.com> writes:
>>
>> Ali> gdb -q ./cout -ex start -ex s -ex fin -ex c -ex q
>> Ali> [snip]
>> Ali> 2 int main () { std::cout<< "foo"<< std::endl; }
>> Ali> Value returned is $1 = warning: RTTI symbol not found for class
>> Ali> std::ostream'
>>
>> What would be best is a recipe for recreating the bug that does not rely
>> on the system libstdc++ or its debuginfo or lack thereof.
>> Both this short test and the bs15503 test are exposed to the system
>> libraries in this way.
>>
>
> Yes, it seems so. I faced no failure on Ubuntu 12.04 without the change.
> But after the patch I faced the same 5 errors that Jan pointed.
I mean 5 failures/regressions.
> Following addition to the earlier patch removes all the regressions.
>
> --- gdb/dwarf2read.c 26 Nov 2012 15:54:29 -0000 1.714
> +++ gdb/dwarf2read.c 26 Nov 2012 20:43:59 -0000
> @@ -7585,7 +7585,7 @@
> else
> {
> demangled = cplus_demangle (mangled,
> - (DMGL_PARAMS | DMGL_ANSI
> + (DMGL_PARAMS | DMGL_ANSI | DMGL_VERBOSE
>
>
> I will try to recreate the bug without using libstdc++.
>
-Ali
prev parent reply other threads:[~2012-11-26 20:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 18:08 ali_anwar
2012-11-21 18:32 ` Jan Kratochvil
2012-11-26 19:14 ` ali_anwar
2012-11-26 19:23 ` Tom Tromey
2012-11-26 20:47 ` ali_anwar
2012-11-26 20:53 ` ali_anwar [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=50B3D633.4060709@codesourcery.com \
--to=ali_anwar@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=jan.kratochvil@redhat.com \
--cc=keiths@redhat.com \
--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