forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user