aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2021-02-12 04:43:03 +0100
committerTom de Vries <tdevries@suse.de>2021-02-12 04:43:03 +0100
commit528a4f87c60a239b015847f69a957b6910ab3f22 (patch)
tree88f99a4c68017da35dd01db3d929d082dd849b00
parent95abb3944c6a97aeddfe91ef09405cf0b9e8142b (diff)
downloadgdb-528a4f87c60a239b015847f69a957b6910ab3f22.zip
gdb-528a4f87c60a239b015847f69a957b6910ab3f22.tar.gz
gdb-528a4f87c60a239b015847f69a957b6910ab3f22.tar.bz2
[binutils] Fix typo in comment in dwarf.h
Fix typo DW_AT_GNU_FORM_addr_index -> DW_FORM_GNU_addr_index. binutils/ChangeLog: 2021-02-12 Tom de Vries <tdevries@suse.de> * dwarf.h (debug_info): Fix typo in comment.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/dwarf.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index cd6b573..85549b5 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,9 @@
2021-02-12 Tom de Vries <tdevries@suse.de>
+ * dwarf.h (debug_info): Fix typo in comment.
+
+2021-02-12 Tom de Vries <tdevries@suse.de>
+
* dwarf.c (display_debug_str_offsets): Handle multiple sets of
entries.
diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index 8ff2bd2..756a560 100644
--- a/binutils/dwarf.h
+++ b/binutils/dwarf.h
@@ -169,7 +169,7 @@ typedef struct
dwarf_vma cu_offset;
dwarf_vma base_address;
/* This field is filled in when reading the attribute DW_AT_GNU_addr_base and
- is used with the form DW_AT_GNU_FORM_addr_index. */
+ is used with the form DW_FORM_GNU_addr_index. */
dwarf_vma addr_base;
/* This field is filled in when reading the attribute DW_AT_GNU_ranges_base and
is used when calculating ranges. */