This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/10966] Something fishy with constructors
- From: "pedro at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 16 Nov 2009 18:53:42 -0000
- Subject: [Bug c++/10966] Something fishy with constructors
- References: <20091116183840.10966.ppluzhnikov@google.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pedro at codesourcery dot com 2009-11-16 18:53 -------
Subject: Re: New: Something fishy with constructors
> (gdb) b Foo::Foo
> Breakpoint 1 at 0x0
> Note: breakpoint 1 also set at pc 0x0.
> Breakpoint 2 at 0x0
> warning: Multiple breakpoints were set.
> Use the "delete" command to delete unwanted breakpoints.
> (gdb)
>
Ah! This is actually PR8166, in desguise. 'show multiple-symbols' was
added in gdb 7.0, and the default changed to "all":
On head:
(gdb) show multiple-symbols
How the debugger handles ambiguities in expressions is "all".
(gdb) b Foo::Foo
[0] cancel
[1] all
?HERE
?HERE
>
--
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.