This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Multiple breakpoint locations
Andreas Schwab <schwab at suse.de> writes:
> It is valid for function template instantiations to only differ in the
> return type. See <http://gcc.gnu.org/ml/gcc-bugs/2003-06/msg02798.html>
> for an example.
Following that link, I think I now better appreciate why full C++
support in GDB is basically impossible: in order to decide which 'fun'
template the call in 'main' refers to, one must try to instantiate
each template and type-check the resulting code. So GDB would need to
essentially incorporate a full C++ front end.