aboutsummaryrefslogtreecommitdiff
path: root/gdb/parse.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-09-04 20:21:15 +0100
committerPedro Alves <palves@redhat.com>2017-09-04 20:21:15 +0100
commitdd5901a6a5bba75f3dee49f9a27640eedad90afe (patch)
tree75d71fc55a8fc446a59254f6991e58c6780a7033 /gdb/parse.c
parent46a4882b3c7d9ec981568b8b13a3c9c39c8f8e61 (diff)
downloadgdb-dd5901a6a5bba75f3dee49f9a27640eedad90afe.zip
gdb-dd5901a6a5bba75f3dee49f9a27640eedad90afe.tar.gz
gdb-dd5901a6a5bba75f3dee49f9a27640eedad90afe.tar.bz2
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.
Diffstat (limited to 'gdb/parse.c')
-rw-r--r--gdb/parse.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/parse.c b/gdb/parse.c
index 83bfa4b..3db9735 100644
--- a/gdb/parse.c
+++ b/gdb/parse.c
@@ -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;