summaryrefslogtreecommitdiff
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
commitc78a6cb58f1a76be289b4bb0cb3586d8eeeeda52 (patch)
tree6c24aa0e055802fa3b05a17fff2d98f779fc674d /gdb/objc-lang.c
parente2fb82af6d1c3b99adfab413d65f0fa6472aef50 (diff)
downloadgdb-c78a6cb58f1a76be289b4bb0cb3586d8eeeeda52.tar.gz
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 6cfe3c533d3..1f30d7c988c 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)