From 09fa0d7cfd2c880dba946a95700a3fe07881c12d Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Sun, 16 Dec 2007 16:06:29 +0000 Subject: [PATCH] * 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'. --- gdb/ChangeLog | 6 ++++++ gdb/dwarf2read.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ab89bd5b821..6a201bd7bce 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2007-12-16 Jan Kratochvil + + * 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 * mi/mi-main.c: Remove code that was commented out in 1999. diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index ec0e645cac2..542fe3413c1 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: -- 2.30.2