[PATCH] Fix Ada crash with .debug_names

Tom Tromey tromey@adacore.com
Thu Apr 23 13:16:08 GMT 2020


>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:

Tom> it took me a while to realize that the problem is that the changed
Tom> return type of language_lookup_name caused a std::string copy
Tom> constructor to be invoked here:

Haha, me too!

Tom> Perhaps the log message could be extended to clarify that bit.

Good idea.  I'm going to check it in with that change.

Tom


More information about the Gdb-patches mailing list