Fix latent yacc-related bug in gdb/Makefile.in init.c rule
authorTom Tromey <tom@tromey.com>
Thu, 31 Mar 2016 20:16:56 +0000 (14:16 -0600)
committerTom Tromey <tom@tromey.com>
Tue, 17 May 2016 18:01:57 +0000 (12:01 -0600)
commit9ab0bb2a673875ba15d6956f2c587c9c31f40357
tree396a949de0e19a1ea016717cdf860b6229075ba6
parent5ff087ac1870878ad980503f5c8b60b6ffa32350
Fix latent yacc-related bug in gdb/Makefile.in init.c rule

gdb's Makefile.in does not currently scan .y files to add global
initializers from these files to init.c.  However, at least ada-exp.y
tries to use this feature.

This patch fixes the problem.

2016-05-17  Tom Tromey  <tom@tromey.com>

* Makefile.in (init.c): Search .y files for initialization
functions.
gdb/ChangeLog
gdb/Makefile.in