[PATCH] Remove unused exp_opcodes

Joel Brobecker brobecker@adacore.com
Tue Jun 1 21:59:00 GMT 2010


> 2010-06-01  Sergio Durigan Junior  <sergiodj@redhat.com>
> 
> 	* expprint.c (print_subexp_standard): Remove exp_opcodes BINOP_INCL,
> 	BINOP_EXCL.
> 	(op_name_standard): Remove exp_opcodes BINOP_INCL, BINOP_EXCL,
> 	UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
> 	(dump_subexp_body_standard): Remove exp_opcodes BINOP_INCL,
> 	BINOP_EXCL, UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD,
> 	UNOP_CHMAX, UNOP_CHMIN.
> 	* expression.h (enum exp_opcode) <BINOP_INCL, BINOP_EXCL,
> 	UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD, UNOP_CHMAX,
> 	UNOP_CHMIN>: Remove opcodes.

Thanks for doing that cleanup. This patch is OK.

I'll confess that I am not quite sure whether you're supposed to close
the '<' at the end of the line, or whether it can continue on the next
line like you did. I don't think it's a huge deal, but we can fix that
if someone knows and it turns out to be wrong...

-- 
Joel



More information about the Gdb-patches mailing list