* eval.c (evaluate_subexp_standard): Use exp->gdbarch types instead
of builtin_type_ macros when handling OP_OBJC_ operations. * objc-lang.c (print_object_command): Likewise.
This commit is contained in:
parent
8ca1c40ee1
commit
d4dbb9c7d4
3 changed files with 22 additions and 12 deletions
|
@ -1378,7 +1378,7 @@ print_object_command (char *args, int from_tty)
|
|||
int pc = 0;
|
||||
|
||||
object = expr->language_defn->la_exp_desc->evaluate_exp
|
||||
(builtin_type_void_data_ptr, expr, &pc, EVAL_NORMAL);
|
||||
(builtin_type (expr->gdbarch)->builtin_data_ptr, expr, &pc, EVAL_NORMAL);
|
||||
do_cleanups (old_chain);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue