Fix typo in comment in dwarf.h

Message ID 20210211141711.GA2713@delia
State New
Headers show
Series
  • Fix typo in comment in dwarf.h
Related show

Commit Message

Tom de Vries Feb. 11, 2021, 2:17 p.m.
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(-)

Comments

Andreas Krebbel via Binutils Feb. 11, 2021, 11:23 p.m. | #1
On Thu, Feb 11, 2021 at 03:17:12PM +0100, Tom de Vries wrote:
> Hi,

> 

> Fix typo DW_AT_GNU_FORM_addr_index -> DW_FORM_GNU_addr_index.

> 

> OK for trunk?


Yes, no need to ask.

-- 
Alan Modra
Australia Development Lab, IBM

Patch

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.  */