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/dwarf2read.c | |
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/dwarf2read.c')
-rw-r--r-- | gdb/dwarf2read.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 80915a8..2a33b9e 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -4559,11 +4559,12 @@ read_tag_pointer_type (struct die_info *die, struct dwarf2_cu *cu) length accordingly. */ if (TYPE_LENGTH (type) != byte_size || addr_class != DW_ADDR_none) { - if (ADDRESS_CLASS_TYPE_FLAGS_P ()) + if (gdbarch_address_class_type_flags_p (current_gdbarch)) { int type_flags; - type_flags = ADDRESS_CLASS_TYPE_FLAGS (byte_size, addr_class); + type_flags = gdbarch_address_class_type_flags + (current_gdbarch, byte_size, addr_class); gdb_assert ((type_flags & ~TYPE_FLAG_ADDRESS_CLASS_ALL) == 0); type = make_type_with_address_space (type, type_flags); } |