diff options
author | Christian Biesinger <cbiesinger@google.com> | 2021-10-08 16:09:46 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@efficios.com> | 2021-10-20 11:11:54 -0400 |
commit | 6d81986879bbb05407e17e4788c52195897011c0 (patch) | |
tree | 24a0ca875a8c21c43db7f45aa53e73dbf3c8947b /gdb/arm-netbsd-tdep.c | |
parent | e43321cab2009d654d41a9e98919309a383bca24 (diff) | |
download | gdb-6d81986879bbb05407e17e4788c52195897011c0.zip gdb-6d81986879bbb05407e17e4788c52195897011c0.tar.gz gdb-6d81986879bbb05407e17e4788c52195897011c0.tar.bz2 |
Make c-exp.y work with Bison 3.8+
When using Bison 3.8, we get this error:
../../gdb/c-exp.y:3455:1: error: 'void c_print_token(FILE*, int, YYSTYPE)' defined but not used [-Werror=unused-function]
That's because bison 3.8 removed YYPRINT support:
https://savannah.gnu.org/forum/forum.php?forum_id=10047
Accordingly, this patch only defines that function for Bison < 3.8.
Change-Id: I3cbf2f317630bb72810b00f2d9b2c4b99fa812ad
Diffstat (limited to 'gdb/arm-netbsd-tdep.c')
0 files changed, 0 insertions, 0 deletions