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
This commit is contained in:
parent
f07dd5f7dd
commit
df940f8bb3
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@
|
|||
#define yystacksize GDB_YY_REMAP (yystacksize)
|
||||
#define yyvs GDB_YY_REMAP (yyvs)
|
||||
#define yyvsp GDB_YY_REMAP (yyvsp)
|
||||
#define YYSTACKDATA GDB_YY_REMAP (YYSTACKDATA)
|
||||
|
||||
/* The following are common to all parsers. */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue