This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug c++/11526] GDB thinks every type is a a possibility for tab completion on template arguments
- From: "k04jg02 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 21 Apr 2010 17:30:48 -0000
- Subject: [Bug c++/11526] GDB thinks every type is a a possibility for tab completion on template arguments
- References: <20100421151540.11526.k04jg02@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From k04jg02 at gmail dot com 2010-04-21 17:30 -------
Thinking about this a little more, it's theoretically possible that a future
shared library load could contain a new instantiation, and you may want to break
on that instantiation before the library loads. But that's not the common case.
Even when that does happen it'll probably be an instantiation on a type internal
to that shared library that isn't loaded yet either. But the current behavior
isn't useful at all even for trivial programs that specify few types (including
any standard header, like iostream, will likely bring in a ton of types). So I
think it would be best if tab completion only showed instantiations that are
actually available, but gdb still had the behavior of letting you type in
unloaded symbols to break on in a future shared library load.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11526
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.