diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:20:15 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-09-11 14:20:15 +0000 |
commit | d4dbb9c7d4ddc39cb0affb783515944bdf8cce68 (patch) | |
tree | 482d6925ce4723f71f47c24477c7759f12491685 /gdb/objc-lang.c | |
parent | 8ca1c40ee1951a585d1fce1d78709979872acf81 (diff) | |
download | gdb-d4dbb9c7d4ddc39cb0affb783515944bdf8cce68.zip gdb-d4dbb9c7d4ddc39cb0affb783515944bdf8cce68.tar.gz gdb-d4dbb9c7d4ddc39cb0affb783515944bdf8cce68.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r-- | gdb/objc-lang.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c index 56871e3..4dadd4c 100644 --- a/gdb/objc-lang.c +++ b/gdb/objc-lang.c @@ -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); } |