diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-09 13:51:51 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-09 13:51:51 +0000 |
commit | 849957d956897855dceff00600cc47248f657eaa (patch) | |
tree | d39f60756abd3f78a58a82d3e39d69e3230030f5 /gdb/gdbarch.h | |
parent | bf6ae4641c04121071734f45fd22b2ee2533d3b1 (diff) | |
download | gdb-849957d956897855dceff00600cc47248f657eaa.zip gdb-849957d956897855dceff00600cc47248f657eaa.tar.gz gdb-849957d956897855dceff00600cc47248f657eaa.tar.bz2 |
2007-06-09 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by
gdbarch_address_class_type_flags.
* dwarf2read.c (read_tag_pointer_type): Likewise.
* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by
gdbarch_address_class_type_flags_p.
* dwarf2read.c (read_tag_pointer_type): 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 37b72e4..1632a5b 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1043,30 +1043,11 @@ extern void set_gdbarch_cannot_step_breakpoint (struct gdbarch *gdbarch, int can extern int gdbarch_have_nonsteppable_watchpoint (struct gdbarch *gdbarch); extern void set_gdbarch_have_nonsteppable_watchpoint (struct gdbarch *gdbarch, int have_nonsteppable_watchpoint); -#if defined (ADDRESS_CLASS_TYPE_FLAGS) -/* Legacy for systems yet to multi-arch ADDRESS_CLASS_TYPE_FLAGS */ -#if !defined (ADDRESS_CLASS_TYPE_FLAGS_P) -#define ADDRESS_CLASS_TYPE_FLAGS_P() (1) -#endif -#endif - extern int gdbarch_address_class_type_flags_p (struct gdbarch *gdbarch); -#if !defined (GDB_TM_FILE) && defined (ADDRESS_CLASS_TYPE_FLAGS_P) -#error "Non multi-arch definition of ADDRESS_CLASS_TYPE_FLAGS" -#endif -#if !defined (ADDRESS_CLASS_TYPE_FLAGS_P) -#define ADDRESS_CLASS_TYPE_FLAGS_P() (gdbarch_address_class_type_flags_p (current_gdbarch)) -#endif typedef int (gdbarch_address_class_type_flags_ftype) (int byte_size, int dwarf2_addr_class); extern int gdbarch_address_class_type_flags (struct gdbarch *gdbarch, int byte_size, int dwarf2_addr_class); extern void set_gdbarch_address_class_type_flags (struct gdbarch *gdbarch, gdbarch_address_class_type_flags_ftype *address_class_type_flags); -#if !defined (GDB_TM_FILE) && defined (ADDRESS_CLASS_TYPE_FLAGS) -#error "Non multi-arch definition of ADDRESS_CLASS_TYPE_FLAGS" -#endif -#if !defined (ADDRESS_CLASS_TYPE_FLAGS) -#define ADDRESS_CLASS_TYPE_FLAGS(byte_size, dwarf2_addr_class) (gdbarch_address_class_type_flags (current_gdbarch, byte_size, dwarf2_addr_class)) -#endif extern int gdbarch_address_class_type_flags_to_name_p (struct gdbarch *gdbarch); |