aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
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/value.h
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/value.h')
-rw-r--r--gdb/value.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/value.h b/gdb/value.h
index 65d0a02..03ca36b 100644
--- a/gdb/value.h
+++ b/gdb/value.h
@@ -715,7 +715,8 @@ extern int value_logical_not (struct value *arg1);
/* C++ */
-extern struct value *value_of_this (int complain);
+extern struct value *value_of_this (const struct language_defn *lang,
+ int complain);
extern struct value *value_x_binop (struct value *arg1, struct value *arg2,
enum exp_opcode op,
@@ -835,8 +836,6 @@ extern struct value *find_function_in_inferior (const char *,
extern struct value *value_allocate_space_in_inferior (int);
-extern struct value *value_of_local (const char *name, int complain);
-
extern struct value *value_subscripted_rvalue (struct value *array,
LONGEST index, int lowerbound);