aboutsummaryrefslogtreecommitdiff
path: root/gdb/objc-lang.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:43:26 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-06 15:43:26 +0000
commitd99344c0debc7307b5d64e4b0cd11afcb9fef21d (patch)
tree05e4932245a307897906aa0b82c6c7a86bdc3ee8 /gdb/objc-lang.c
parente6cf791626ca6945239d5184497d5a83a7419ca8 (diff)
downloadgdb-d99344c0debc7307b5d64e4b0cd11afcb9fef21d.zip
gdb-d99344c0debc7307b5d64e4b0cd11afcb9fef21d.tar.gz
gdb-d99344c0debc7307b5d64e4b0cd11afcb9fef21d.tar.bz2
2007-06-06 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by gdbarch_fetch_pointer_argument. * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/objc-lang.c')
-rw-r--r--gdb/objc-lang.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/objc-lang.c b/gdb/objc-lang.c
index 6cfe3c5..1f30d7c 100644
--- a/gdb/objc-lang.c
+++ b/gdb/objc-lang.c
@@ -1844,7 +1844,8 @@ find_implementation (CORE_ADDR object, CORE_ADDR sel)
}
#define OBJC_FETCH_POINTER_ARGUMENT(argi) \
- FETCH_POINTER_ARGUMENT (get_current_frame (), argi, builtin_type_void_func_ptr)
+ gdbarch_fetch_pointer_argument (current_gdbarch, get_current_frame (), \
+ argi, builtin_type_void_func_ptr)
static int
resolve_msgsend (CORE_ADDR pc, CORE_ADDR *new_pc)