diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-09-08 14:54:16 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-09-08 14:54:16 +0000 |
commit | 997e2329080d16647f6a466b2dce1657ce4d2183 (patch) | |
tree | f3a619e769747a2e278974c31ada28573b0f0417 /gdb/value.h | |
parent | 17174e6aac2869b41398d66e542b2e924396eecc (diff) | |
download | gdb-997e2329080d16647f6a466b2dce1657ce4d2183.tar.gz |
gdb/
* eval.c (evaluate_subexp_standard) <OP_THIS>: Update the value_of_this
caller to value_of_this.
* p-exp.y: Update the value_of_this caller to value_of_this_silent.
Twice.
* valops.c (value_of_this): Remove parameter complain and variable ret.
Update function comment. Never return NULL by this code.
(value_of_this_silent): New function.
* value.h (value_of_this): Remove parameter complain.
(value_of_this_silent): New declaration.
Diffstat (limited to 'gdb/value.h')
-rw-r--r-- | gdb/value.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/value.h b/gdb/value.h index 960384ee21e..5d61a0b0658 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -717,8 +717,9 @@ extern int value_logical_not (struct value *arg1); /* C++ */ -extern struct value *value_of_this (const struct language_defn *lang, - int complain); +extern struct value *value_of_this (const struct language_defn *lang); + +extern struct value *value_of_this_silent (const struct language_defn *lang); extern struct value *value_x_binop (struct value *arg1, struct value *arg2, enum exp_opcode op, |