[RFC, PATCH] YACC parsers

Tom Tromey tromey@redhat.com
Mon Dec 19 15:15:00 GMT 2011


>>>>> "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



More information about the Gdb-patches mailing list