This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/10966] Something fishy with constructors


------- Additional Comments From keiths at redhat dot com  2009-11-16 19:38 -------
Subject: Re:  Something fishy with constructors

On 11/16/2009 11:14 AM, pedro at codesourcery dot com wrote:
> I wonder if archer-keiths-expr-cumulative archer branch has
> a not-too-big-and-invasive fix for this.  I think that they
> don't use mangled names anymore on that branch, so if fixed,
> it may not be a small change though.

expr-cumulative should fix (some/all of?) these problems. Running the 
provided examples, I get:

$ ./gdb -nx -q ~/tmp/foo1
Reading symbols from /home/keiths/tmp/foo1...done.
(gdb) b Foo::Foo
Breakpoint 1 at 0x804847b: file foo.cc, line 5.

and

$ ./gdb -nx -q ~/tmp/foo2
Reading symbols from /home/keiths/tmp/foo2...done.
(gdb) b Foo::Foo
Breakpoint 1 at 0x804847b: file foo.cc, line 5.


I am working to get all these patches submitted upstream right now. I 
have, I think, one miscellaneous patch (which is actually Daniel's 
patch), and some ADA failures to investigate. When that's done, I will 
be ready to submit my "mega-patch" from expr-cumulative to get rid of 
linkage_name.

Keith


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10966

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]