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 | a03c034dadca211c0c179497907a776a84b024f7 (patch) | |
tree | 0d7b70a9b1ffe939af59835e315661efefa3f18e /gdb/eval.c | |
parent | 5c9cffe047056e7934e1f40779fffb8d525576d2 (diff) | |
download | gdb-a03c034dadca211c0c179497907a776a84b024f7.tar.gz |
* 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
diff --git a/gdb/eval.c b/gdb/eval.c index 22ca8819f34..57a871f11f9 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 |