This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/8] Fix latent yacc-related bug in gdb/Makefile.in init.c rule
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Wed, 27 Apr 2016 12:37:52 +0100
- Subject: Re: [PATCH 2/8] Fix latent yacc-related bug in gdb/Makefile.in init.c rule
- Authentication-results: sourceware.org; auth=none
- References: <1461725371-17620-1-git-send-email-tom at tromey dot com> <1461725371-17620-3-git-send-email-tom at tromey dot com>
On 04/27/2016 03:49 AM, Tom Tromey wrote:
> gdb's Makefile.in does not currently scan .y files to add global
> initializers from these files to init.c.
Whoops.
> However, at least ada-exp.y tries to use this feature.
Eh.
>
> This patch fixes the problem.
>
> 2016-04-26 Tom Tromey <tom@tromey.com>
>
> * Makefile.in (init.c): Search .y files for initialization
> functions.
OK.
Thanks,
Pedro Alves