This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFC: fix PR 12707
Tom> Changing other symbols to include the return type also seems difficult.
Jan> I do not see why. There exists no demangled name with the return type
Jan> anywhere for normal non-template functions.
I expect it will break expression parsing.
Tom> The proposed change means that a breakpoint could still be set, just not
Tom> including the return type.
Jan> It cannot be set by copy-pasting the symbol name from nm or similar tools.
Of all the choices I consider this the least bad.
Jan> The data structures could contain both names - with the return type and
Jan> without the return type - so that GDB does match both.
I think that would require too much memory for what is really a marginal
feature.
Tom