mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-26 07:19:16 +08:00
Remove evaluate_expression
evaluate_expression is just a little wrapper for a method on expression. Removing it also removes a lot of ugly (IMO) calls to get().
This commit is contained in:
@ -2722,7 +2722,7 @@ return_command (const char *retval_exp, int from_tty)
|
||||
|
||||
/* Compute the return value. Should the computation fail, this
|
||||
call throws an error. */
|
||||
return_value = evaluate_expression (retval_expr.get ());
|
||||
return_value = retval_expr->evaluate ();
|
||||
|
||||
/* Cast return value to the return type of the function. Should
|
||||
the cast fail, this call throws an error. */
|
||||
|
Reference in New Issue
Block a user