diff options
author | Tom Tromey <tromey@redhat.com> | 2011-06-17 20:35:09 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2011-06-17 20:35:09 +0000 |
commit | 7518bff55ab27e073e9d03b5d700d469d362c85d (patch) | |
tree | 579cfdef5223792e7a4eb9a299f24b5fd58629e9 /gdb/eval.c | |
parent | aee28ec61ad1d4027a78cdbc1da0dcd9f43e2374 (diff) | |
download | gdb-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |