mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-16 12:24:19 +08:00
* ada-lang.c (evaluate_subexp): Delete. Use the version from eval.c.
(evaluate_subexp_type): Reimplement using evaluate_subexp. * value.h (evaluate_subexp): Add declaration. * eval.c (evaluate_subexp): Make non-static. * objc-lang.c (print_object_command): Use evaluate_subexp.
This commit is contained in:
@ -1421,8 +1421,8 @@ print_object_command (char *args, int from_tty)
|
||||
make_cleanup (free_current_contents, &expr);
|
||||
int pc = 0;
|
||||
|
||||
object = expr->language_defn->la_exp_desc->evaluate_exp
|
||||
(builtin_type (expr->gdbarch)->builtin_data_ptr, expr, &pc, EVAL_NORMAL);
|
||||
object = evaluate_subexp (builtin_type (expr->gdbarch)->builtin_data_ptr,
|
||||
expr, &pc, EVAL_NORMAL);
|
||||
do_cleanups (old_chain);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user