[PATCH 2/2] gdb: Fix reduce/reduce conflicts for qualifier_seq_noopt in the C parser.

Tom Tromey tom@tromey.com
Thu Apr 1 18:20:28 GMT 2021


>>>>> "Felix" == Felix Willgerodt via Gdb-patches <gdb-patches@sourceware.org> writes:

Felix> Note that how the binding of this qualifier is interpreted and resolved for an
Felix> address/pointer is target specific.  Hence only the prepended qualifier works
Felix> for AVR, even if it seems syntactically incorrect.  I won't change this for
Felix> AVR, as I am not familiar with that target.

Probably we should follow whatever GCC does here.

Felix> 	* c-exp.y (qualifier_seq_noopt): Replace qualifier_seq with
Felix> 	qualifier_seq_noopt.

This seems fine to me.  Thanks again.

Tom


More information about the Gdb-patches mailing list