This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[1/6] Fortran dynamic arrays #2: Decode DW_AT_*_stride
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Sat, 24 Nov 2007 00:43:14 +0100
- Subject: [1/6] Fortran dynamic arrays #2: Decode DW_AT_*_stride
Hi,
the appropriate symbols have been already recently committed to the binutils
include/ part.
Regards,
Jan
2007-11-23 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwarf2read.c (dwarf_attr_name): Renamed `DW_AT_stride_size' to its
DWARF3 equivalent `DW_AT_bit_stride'.
Renamed `DW_AT_stride' to its DWARF3 equivalent `DW_AT_byte_stride'.
Index: sources/gdb/dwarf2read.c
===================================================================
--- sources.orig/gdb/dwarf2read.c 2007-11-23 22:07:48.000000000 +0100
+++ sources/gdb/dwarf2read.c 2007-11-23 22:07:53.000000000 +0100
@@ -8129,8 +8129,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:
@@ -8198,8 +8198,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: