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++/11526] GDB thinks every type is a a possibility for tab completion on template arguments


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


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