summaryrefslogtreecommitdiff
path: root/gdb/eval.c
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2011-09-08 14:54:16 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2011-09-08 14:54:16 +0000
commit997e2329080d16647f6a466b2dce1657ce4d2183 (patch)
treef3a619e769747a2e278974c31ada28573b0f0417 /gdb/eval.c
parent17174e6aac2869b41398d66e542b2e924396eecc (diff)
downloadgdb-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/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 c1c02801168..af225c4670a 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_this (exp->language_defn, 1);
+ return value_of_this (exp->language_defn);
case OP_TYPE:
/* The value is not supposed to be used. This is here to make it