This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] c++/24367: Infinite recursion of typedef substitution
- From: Kevin Buettner <kevinb at redhat dot com>
- To: gdb-patches at sourceware dot org
- Cc: Keith Seitz <keiths at redhat dot com>
- Date: Sun, 14 Apr 2019 12:02:00 -0700
- Subject: Re: [PATCH] c++/24367: Infinite recursion of typedef substitution
- References: <20190411191921.9525-1-keiths@redhat.com>
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