Chenxi Mao 34577600bc gdb: fix build error via cherry-pick upstream patch.
There is build error if build env upgrade from 2109 to 2203.
../../gdb/c-exp.y:3320:1: error: 'void c_print_token(FILE*, int, YYSTYPE)' defined but not used [-Werror=unused-function]

The root cause is bison version changed from 3.7.4 to 3.8.2
Meanwhile, bison 3.8.x removed removed YYPRINT support, so there
will be trigger this function is unused.

Solution:
Backport upstream patch to check bison version which means
function only work bison < 3.8

After this change, both aarch64 and x86 build successfully.

Change-Id: Ib80d828fcca8e1eb8e085f36fc5a9a197259e35f
Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2021-12-22 10:56:08 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2019-09-30 10:39:25 -04:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-24 11:52:10 +08:00
2020-07-02 16:22:44 +08:00
2019-09-30 10:39:25 -04:00
Description
No description provided
80 MiB
Languages
Roff 100%