[PATCH 1/1] replace_typedefs: handle templates in namespaces

Keith Seitz keiths@redhat.com
Thu May 28 22:13:24 GMT 2020


On 5/28/20 6:37 AM, Pedro Alves via Gdb-patches wrote:
> gdb/ChangeLog:
> 2020-05-28  Pedro Alves  <palves@redhat.com>
> 
> 	* cp-support.c (replace_typedefs_template): New.
> 	(replace_typedefs_qualified_name): Handle
> 	DEMANGLE_COMPONENT_TEMPLATE.
> 
> gdb/testsuite/ChangeLog:
> 2020-05-28  Pedro Alves  <palves@redhat.com>
> 
> 	* gdb.linespec/cp-replace-typedefs-ns-template.cc: New.
> 	* gdb.linespec/cp-replace-typedefs-ns-template.exp: New.

This is very close to where I was headed, so AFAICT, it LGTM.

Thanks a bunch for pursuing this while I've been tied up with other
tasks.

Keith



More information about the Gdb-patches mailing list