aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/dwarf2read.c8
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ab89bd5..6a201bd 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2007-12-16 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its
+ DWARF3 equivalent `DW_AT_bit_stride'.
+ Rename `DW_AT_stride' to its DWARF3 equivalent `DW_AT_byte_stride'.
+
2007-12-16 Joel Brobecker <brobecker@adacore.com>
* mi/mi-main.c: Remove code that was commented out in 1999.
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index ec0e645..542fe34 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -8153,8 +8153,8 @@ dwarf_attr_name (unsigned attr)
return "DW_AT_return_addr";
case DW_AT_start_scope:
return "DW_AT_start_scope";
- case DW_AT_stride_size:
- return "DW_AT_stride_size";
+ case DW_AT_bit_stride:
+ return "DW_AT_bit_stride";
case DW_AT_upper_bound:
return "DW_AT_upper_bound";
case DW_AT_abstract_origin:
@@ -8222,8 +8222,8 @@ dwarf_attr_name (unsigned attr)
return "DW_AT_associated";
case DW_AT_data_location:
return "DW_AT_data_location";
- case DW_AT_stride:
- return "DW_AT_stride";
+ case DW_AT_byte_stride:
+ return "DW_AT_byte_stride";
case DW_AT_entry_pc:
return "DW_AT_entry_pc";
case DW_AT_use_UTF8: