[PATCH] [PR gdb/19820] gdb: allow enumeration constants as second operand of BINOP_REPEAT

Artemiy Volkov artemiyv@acm.org
Wed Mar 23 19:00:00 GMT 2016


On Wed, Mar 23, 2016 at 04:20:46PM +0000, Yao Qi wrote:
> Artemiy Volkov <artemiyv@acm.org> writes:
> 
> > A couple of tests is also included in this patch to demonstrate that it is
> > working as intended.
> >
> > gdb/Changelog:
> >
> > 2016-03-20  Artemiy Volkov  <artemiyv@acm.org>
> >
> 
> Add "PR gdb/19820" here...
> 
> > 	* eval.c (evaluate_subexp_standard): Allow TYPE_CODE_ENUM to be
> >         the type of BINOP_REPEAT's second operand.
> >
> > gdb/testsuite/Changelog:
> >
> > 2016-03-20  Artemiy Volkov  <artemiyv@acm.org>
> >
> 
> and here...
> 
> > 	* gdb.base/printcmds.exp: Add artificial arrays tests.
> 
> You can reference existing ChangeLog entries.

OK, will do and resend as v2.

> 
> Did you run regression tests?  If the test is regression free, the patch
> is OK to me with the ChangeLog entry fix I point out above.

Yes, I've made sure that there are no regressions.

Thank you for the review,
Artemiy



More information about the Gdb-patches mailing list