Eliminate UNOP_MEMVAL_TLS

Since minsym references now go via OP_VAR_MSYM_VALUE, UNOP_MEMVAL_TLS
is no longer used anywhere.

gdb/ChangeLog:
2017-09-04  Pedro Alves  <palves@redhat.com>

	* eval.c (evaluate_subexp_standard): Remove UNOP_MEMVAL_TLS
	handling.
	* expprint.c (print_subexp_standard, dump_subexp_body_standard):
	Ditto.
	* parse.c (operator_length_standard, operator_check_standard):
	Ditto.
	* std-operator.def (UNOP_MEMVAL_TLS): Delete.
This commit is contained in:
Pedro Alves 2017-09-04 20:21:15 +01:00
parent 46a4882b3c
commit dd5901a6a5
5 changed files with 10 additions and 55 deletions

View file

@ -950,11 +950,6 @@ operator_length_standard (const struct expression *expr, int endpos,
args = 1;
break;
case UNOP_MEMVAL_TLS:
oplen = 4;
args = 1;
break;
case UNOP_ABS:
case UNOP_CAP:
case UNOP_CHR:
@ -1833,11 +1828,6 @@ operator_check_standard (struct expression *exp, int pos,
}
break;
case UNOP_MEMVAL_TLS:
objfile = elts[pos + 1].objfile;
type = elts[pos + 2].type;
break;
case OP_VAR_VALUE:
{
const struct block *const block = elts[pos + 1].block;