[PATCH][binutils] Fix typo in comment in dwarf.h

Tom de Vries tdevries@suse.de
Thu Feb 11 14:17:12 GMT 2021


Hi,

Fix typo DW_AT_GNU_FORM_addr_index -> DW_FORM_GNU_addr_index.

OK for trunk?

Thanks,
- Tom

[binutils] Fix typo in comment in dwarf.h

binutils/ChangeLog:

2021-02-11  Tom de Vries  <tdevries@suse.de>

	* dwarf.h (debug_info): Fix typo in comment.

---
 binutils/dwarf.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/binutils/dwarf.h b/binutils/dwarf.h
index 8ff2bd22c63..756a5606fd2 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.  */


More information about the Binutils mailing list