gdb: Fix an ODR warning with byacc with GDB_YY_REMAP
authorSam James <sam@gentoo.org>
Tue, 12 Sep 2023 00:46:51 +0000 (01:46 +0100)
committerSam James <sam@gentoo.org>
Wed, 27 Sep 2023 07:35:13 +0000 (08:35 +0100)
commitdf940f8bb348cf90445195ed4a34cddf9af634f6
tree95901d128f06ae71a2ace1002c85fa635c792ea9
parentf07dd5f7dd19d16b91bf680c7fa7773a7831c412
gdb: Fix an ODR warning with byacc with GDB_YY_REMAP

With byacc, we get an ODR warning with YYSTACKDATA between ada-exp.c.tmp
and c-exp.c.tmp. Just include it in the list of symbols we rename.

PR gdb/30839

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30839
Approved-By: Tom de Vries <tdevries@suse.de>
Copyright-paperwork-exempt: yes
gdb/yy-remap.h