aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-exp.y
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-06-17 20:24:22 +0000
committerTom Tromey <tromey@redhat.com>2011-06-17 20:24:22 +0000
commitaee28ec61ad1d4027a78cdbc1da0dcd9f43e2374 (patch)
tree45e05b6b540cb839bcce895490b02696ac0eb2fa /gdb/objc-exp.y
parent563002680ccbb26706b55313bcccd84d8b299a78 (diff)
downloadgdb-aee28ec61ad1d4027a78cdbc1da0dcd9f43e2374.zip
gdb-aee28ec61ad1d4027a78cdbc1da0dcd9f43e2374.tar.gz
gdb-aee28ec61ad1d4027a78cdbc1da0dcd9f43e2374.tar.bz2
* valops.c (value_of_local): Complain if NAME is NULL.
* std-operator.def (OP_OBJC_SELF): Remove. * parse.c (operator_length_standard) <OP_OBJC_SELF>: Remove. * objc-exp.y (name_not_typename): Use OP_THIS. * expprint.c (print_subexp_standard) <OP_THIS>: Print language's name for "this". <OP_OBJC_SELF>: Remove. * eval.c (evaluate_subexp_standard) <OP_OBJC_SELF>: Remove.
Diffstat (limited to 'gdb/objc-exp.y')
-rw-r--r--gdb/objc-exp.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/objc-exp.y b/gdb/objc-exp.y
index 852adff..881542f 100644
--- a/gdb/objc-exp.y
+++ b/gdb/objc-exp.y
@@ -755,8 +755,8 @@ variable: name_not_typename
if (innermost_block == 0 ||
contained_in (block_found, innermost_block))
innermost_block = block_found;
- write_exp_elt_opcode (OP_OBJC_SELF);
- write_exp_elt_opcode (OP_OBJC_SELF);
+ write_exp_elt_opcode (OP_THIS);
+ write_exp_elt_opcode (OP_THIS);
write_exp_elt_opcode (STRUCTOP_PTR);
write_exp_string ($1.stoken);
write_exp_elt_opcode (STRUCTOP_PTR);