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