From 5c9cffe047056e7934e1f40779fffb8d525576d2 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Fri, 17 Jun 2011 20:24:21 +0000 Subject: * valops.c (value_of_local): Complain if NAME is NULL. * std-operator.def (OP_OBJC_SELF): Remove. * parse.c (operator_length_standard) : Remove. * objc-exp.y (name_not_typename): Use OP_THIS. * expprint.c (print_subexp_standard) : Print language's name for "this". : Remove. * eval.c (evaluate_subexp_standard) : Remove. --- gdb/eval.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gdb/eval.c') diff --git a/gdb/eval.c b/gdb/eval.c index bbc7b8a71f8..22ca8819f34 100644 --- a/gdb/eval.c +++ b/gdb/eval.c @@ -2830,11 +2830,7 @@ evaluate_subexp_standard (struct type *expect_type, case OP_THIS: (*pos) += 1; - return value_of_this (1); - - case OP_OBJC_SELF: - (*pos) += 1; - return value_of_local ("self", 1); + return value_of_local (exp->language_defn->la_name_of_this, 1); case OP_TYPE: /* The value is not supposed to be used. This is here to make it -- cgit v1.2.1