This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC, PATCH] YACC parsers
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 19 Dec 2011 08:07:49 -0700
- Subject: Re: [RFC, PATCH] YACC parsers
- References: <201112171937.pBHJbDhq010089@glazunov.sibelius.xs4all.nl>
>>>>> "Mark" == Mark Kettenis <mark.kettenis@xs4all.nl> writes:
Mark> It may not be impossible to "fix" the OpenBSD yacc(4) here, but given
Mark> the fact that it supports the -p option to add a prefix to all the
Mark> relevant symbols that would be somewhat silly. Unfortunately,
Mark> changing the build infrastructure to use yacc -p isn't exactly
Mark> trivial.
Mark> Opinions?
What is hard about using yacc -p?
I wouldn't mind getting rid of these hacks and requiring a -p-capable
yacc. Or even requiring Bison; I think this would only be needed by gdb
developers anyhow.
Tom