This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] [D] Fix regression in py-lookup-type.exp
- From: Doug Evans <xdje42 at gmail dot com>
- To: Iain Buclaw <ibuclaw at gdcproject dot org>
- Cc: GDB Patches <gdb-patches at sourceware dot org>
- Date: Wed, 16 Sep 2015 21:44:50 -0700
- Subject: Re: [PATCH] [D] Fix regression in py-lookup-type.exp
- Authentication-results: sourceware.org; auth=none
- References: <CABOHX+cmdgOHJgcvSOeyWx-SLdx4PLsTUkZaBj4enmZFcqbMNQ at mail dot gmail dot com>
Iain Buclaw <ibuclaw@gdcproject.org> writes:
> Hi,
>
> Implementation shamelessly borrowed from Doug Evans. :-)
>
> Regards
> Iain
>
> gdb/ChangeLog:
>
> * d-namespace.c (d_lookup_symbol): New arg langdef.
> All callers updated. Support looking up symbol as a primitive type.
> (lookup_module_scope): New arg langdef. All callers updated.
> Call d_lookup_symbol directly for simple bare symbols.
LGTM