aboutsummaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2011-06-17 20:35:09 +0000
committerTom Tromey <tromey@redhat.com>2011-06-17 20:35:09 +0000
commit7518bff55ab27e073e9d03b5d700d469d362c85d (patch)
tree579cfdef5223792e7a4eb9a299f24b5fd58629e9 /gdb/eval.c
parentaee28ec61ad1d4027a78cdbc1da0dcd9f43e2374 (diff)
downloadgdb-7518bff55ab27e073e9d03b5d700d469d362c85d.zip
gdb-7518bff55ab27e073e9d03b5d700d469d362c85d.tar.gz
gdb-7518bff55ab27e073e9d03b5d700d469d362c85d.tar.bz2
* value.h (value_of_this): Update.
(value_of_local): Remove. * valops.c (value_of_this): Rename from value_of_local. Change parameters. * p-exp.y (exp): Update. (variable): Likewise. * eval.c (evaluate_subexp_standard) <OP_THIS>: Use value_of_this.
Diffstat (limited to 'gdb/eval.c')
-rw-r--r--gdb/eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/eval.c b/gdb/eval.c
index 22ca881..57a871f 100644
--- a/gdb/eval.c
+++ b/gdb/eval.c
@@ -2830,7 +2830,7 @@ evaluate_subexp_standard (struct type *expect_type,
case OP_THIS:
(*pos) += 1;
- return value_of_local (exp->language_defn->la_name_of_this, 1);
+ return value_of_this (exp->language_defn, 1);
case OP_TYPE:
/* The value is not supposed to be used. This is here to make it