diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-09-08 14:54:20 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-09-08 14:54:20 +0000 |
commit | 85bc8cb7855e8ae9ba6e207ed557f849479c41c0 (patch) | |
tree | b2872e91b9fc08816489b7f7d4d35df9d09a541f /gdb/eval.c | |
parent | 48b07401829970b4ad18ccc9ebd7be9894d26642 (diff) | |
download | gdb-85bc8cb7855e8ae9ba6e207ed557f849479c41c0.zip gdb-85bc8cb7855e8ae9ba6e207ed557f849479c41c0.tar.gz gdb-85bc8cb7855e8ae9ba6e207ed557f849479c41c0.tar.bz2 |
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.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_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 |