diff options
author | Pedro Alves <palves@redhat.com> | 2017-09-04 20:21:15 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2017-09-04 20:21:15 +0100 |
commit | dd5901a6a5bba75f3dee49f9a27640eedad90afe (patch) | |
tree | 75d71fc55a8fc446a59254f6991e58c6780a7033 /gdb/eval.c | |
parent | Stop assuming no-debug-info variables have type int (diff) | |
download | binutils-gdb-dd5901a6a5bba75f3dee49f9a27640eedad90afe.tar.gz binutils-gdb-dd5901a6a5bba75f3dee49f9a27640eedad90afe.tar.bz2 binutils-gdb-dd5901a6a5bba75f3dee49f9a27640eedad90afe.zip |
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/eval.c')
-rw-r--r-- | gdb/eval.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/gdb/eval.c b/gdb/eval.c index 75d3c86f123..e70328ba1dd 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -2655,22 +2655,6 @@ evaluate_subexp_standard (struct type *expect_type, else return value_at_lazy (type, value_as_address (arg1)); - case UNOP_MEMVAL_TLS: - (*pos) += 3; - arg1 = evaluate_subexp (expect_type, exp, pos, noside); - if (noside == EVAL_SKIP) - return eval_skip_value (exp); - if (noside == EVAL_AVOID_SIDE_EFFECTS) - return value_zero (exp->elts[pc + 2].type, lval_memory); - else - { - CORE_ADDR tls_addr; - - tls_addr = target_translate_tls_address (exp->elts[pc + 1].objfile, - value_as_address (arg1)); - return value_at_lazy (exp->elts[pc + 2].type, tls_addr); - } - case UNOP_PREINCREMENT: arg1 = evaluate_subexp (expect_type, exp, pos, noside); if (noside == EVAL_SKIP || noside == EVAL_AVOID_SIDE_EFFECTS) |