Support for template breakpoints: With GDB 5.0,
you can set breakpoints on member functions in all instantiations
of the template class by just specifying the template name with
member function name.
It is not necessary to specify the instantiation type.
Setting a breakpoint on a template method with multiple instantiations
displays a menu showing all instantiations and the user can choose
to set breakpoints on all or any one or none.
For example:
(gdb) file testReading symbols from test...done.(gdb) b MyClass::MyMember[0] cancel[1] all[2] MyClass::MyMember(int, int) at test.C:14[3] MyClass::MyMember(int, float) at test.C:14[4] MyClass::MyMember(int, double) at test.C:14
|