aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2007-12-16 16:06:29 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2007-12-16 16:06:29 +0000
commit09fa0d7cfd2c880dba946a95700a3fe07881c12d (patch)
tree5b61905482dd213890f9136079d66ddad0cf8ba7 /gdb
parent41bbea1ac5c8dca5583c3d41157641f2d4cc9011 (diff)
downloadgdb-09fa0d7cfd2c880dba946a95700a3fe07881c12d.zip
gdb-09fa0d7cfd2c880dba946a95700a3fe07881c12d.tar.gz
gdb-09fa0d7cfd2c880dba946a95700a3fe07881c12d.tar.bz2
* 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'.
Diffstat (limited to 'gdb')
-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: