diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:43:26 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-06 15:43:26 +0000 |
commit | d99344c0debc7307b5d64e4b0cd11afcb9fef21d (patch) | |
tree | 05e4932245a307897906aa0b82c6c7a86bdc3ee8 /gdb/gdbarch.h | |
parent | e6cf791626ca6945239d5184497d5a83a7419ca8 (diff) | |
download | gdb-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/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 2446a31..7b404b3 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1125,30 +1125,11 @@ extern void set_gdbarch_register_reggroup_p (struct gdbarch *gdbarch, gdbarch_re /* Fetch the pointer to the ith function argument. */ -#if defined (FETCH_POINTER_ARGUMENT) -/* Legacy for systems yet to multi-arch FETCH_POINTER_ARGUMENT */ -#if !defined (FETCH_POINTER_ARGUMENT_P) -#define FETCH_POINTER_ARGUMENT_P() (1) -#endif -#endif - extern int gdbarch_fetch_pointer_argument_p (struct gdbarch *gdbarch); -#if !defined (GDB_TM_FILE) && defined (FETCH_POINTER_ARGUMENT_P) -#error "Non multi-arch definition of FETCH_POINTER_ARGUMENT" -#endif -#if !defined (FETCH_POINTER_ARGUMENT_P) -#define FETCH_POINTER_ARGUMENT_P() (gdbarch_fetch_pointer_argument_p (current_gdbarch)) -#endif typedef CORE_ADDR (gdbarch_fetch_pointer_argument_ftype) (struct frame_info *frame, int argi, struct type *type); extern CORE_ADDR gdbarch_fetch_pointer_argument (struct gdbarch *gdbarch, struct frame_info *frame, int argi, struct type *type); extern void set_gdbarch_fetch_pointer_argument (struct gdbarch *gdbarch, gdbarch_fetch_pointer_argument_ftype *fetch_pointer_argument); -#if !defined (GDB_TM_FILE) && defined (FETCH_POINTER_ARGUMENT) -#error "Non multi-arch definition of FETCH_POINTER_ARGUMENT" -#endif -#if !defined (FETCH_POINTER_ARGUMENT) -#define FETCH_POINTER_ARGUMENT(frame, argi, type) (gdbarch_fetch_pointer_argument (current_gdbarch, frame, argi, type)) -#endif /* Return the appropriate register set for a core file section with name SECT_NAME and size SECT_SIZE. */ |