This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] c++/24367: Infinite recursion of typedef substitution


On Thu, 11 Apr 2019 12:19:21 -0700
Keith Seitz <keiths@redhat.com> wrote:
 
> gdb/ChangeLog:
> 
> 	PR c++/24367
> 	* cp-support.c (inspect_type): Don't attempt substitutions
> 	of symbol with the same name.
> 
> gdb/testsuite/ChangeLog:
> 
> 	PR c++/24367
> 	* gdb.cp/meth-typedefs.cc (incomplete_struct)
> 	(another_incomplete_struct, test_incomplete): New definitions.
> 	(main): Use new definitions.
> 	* gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
> 	functions.

Okay.

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]