diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 18:19:00 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 18:19:00 +0000 |
commit | bceb6e50519a169c044c1d2fef5b3a9f5cda2a06 (patch) | |
tree | 45cf6d3f1487513015e55353bfef207bc55bec4a /gdb/gdbarch.h | |
parent | 8ed6a7ba981033bf5d572e41e22e1eb860fe24c7 (diff) | |
download | gdb-bceb6e50519a169c044c1d2fef5b3a9f5cda2a06.zip gdb-bceb6e50519a169c044c1d2fef5b3a9f5cda2a06.tar.gz gdb-bceb6e50519a169c044c1d2fef5b3a9f5cda2a06.tar.bz2 |
2007-06-18 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by
gdbarch_deprecated_reg_struct_has_addr.
* infcall.c (call_function_by_hand): Likewise.
(DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by
* gdbarch_deprecated_reg_struct_has_addr_p.
* infcall.c (call_function_by_hand): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/gdbarch.h')
-rw-r--r-- | gdb/gdbarch.h | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 6fc8e17..de37e84 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -518,33 +518,14 @@ typedef CORE_ADDR (gdbarch_frame_align_ftype) (struct gdbarch *gdbarch, CORE_ADD extern CORE_ADDR gdbarch_frame_align (struct gdbarch *gdbarch, CORE_ADDR address); extern void set_gdbarch_frame_align (struct gdbarch *gdbarch, gdbarch_frame_align_ftype *frame_align); -/* DEPRECATED_REG_STRUCT_HAS_ADDR has been replaced by +/* deprecated_reg_struct_has_addr has been replaced by stabs_argument_has_addr. */ -#if defined (DEPRECATED_REG_STRUCT_HAS_ADDR) -/* Legacy for systems yet to multi-arch DEPRECATED_REG_STRUCT_HAS_ADDR */ -#if !defined (DEPRECATED_REG_STRUCT_HAS_ADDR_P) -#define DEPRECATED_REG_STRUCT_HAS_ADDR_P() (1) -#endif -#endif - extern int gdbarch_deprecated_reg_struct_has_addr_p (struct gdbarch *gdbarch); -#if !defined (GDB_TM_FILE) && defined (DEPRECATED_REG_STRUCT_HAS_ADDR_P) -#error "Non multi-arch definition of DEPRECATED_REG_STRUCT_HAS_ADDR" -#endif -#if !defined (DEPRECATED_REG_STRUCT_HAS_ADDR_P) -#define DEPRECATED_REG_STRUCT_HAS_ADDR_P() (gdbarch_deprecated_reg_struct_has_addr_p (current_gdbarch)) -#endif typedef int (gdbarch_deprecated_reg_struct_has_addr_ftype) (int gcc_p, struct type *type); extern int gdbarch_deprecated_reg_struct_has_addr (struct gdbarch *gdbarch, int gcc_p, struct type *type); extern void set_gdbarch_deprecated_reg_struct_has_addr (struct gdbarch *gdbarch, gdbarch_deprecated_reg_struct_has_addr_ftype *deprecated_reg_struct_has_addr); -#if !defined (GDB_TM_FILE) && defined (DEPRECATED_REG_STRUCT_HAS_ADDR) -#error "Non multi-arch definition of DEPRECATED_REG_STRUCT_HAS_ADDR" -#endif -#if !defined (DEPRECATED_REG_STRUCT_HAS_ADDR) -#define DEPRECATED_REG_STRUCT_HAS_ADDR(gcc_p, type) (gdbarch_deprecated_reg_struct_has_addr (current_gdbarch, gcc_p, type)) -#endif typedef int (gdbarch_stabs_argument_has_addr_ftype) (struct gdbarch *gdbarch, struct type *type); extern int gdbarch_stabs_argument_has_addr (struct gdbarch *gdbarch, struct type *type); |