[pushed] Fix grammar error in dwarf2/attribute.h

Message ID 20250320124133.2171405-1-tromey@adacore.com
State New
Headers
Series [pushed] Fix grammar error in dwarf2/attribute.h |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_gdb_build--master-aarch64 fail Patch failed to apply
linaro-tcwg-bot/tcwg_gdb_build--master-arm fail Patch failed to apply

Commit Message

Tom Tromey March 20, 2025, 12:41 p.m. UTC
  A recent patch of mine had a comment with bad grammar; apparently I
didn't finish editing it.  This patch cleans it up.
---
 gdb/dwarf2/attribute.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


base-commit: 2774eeb9e2acb7d5a7967c55d8365fc1278244a4
  

Patch

diff --git a/gdb/dwarf2/attribute.h b/gdb/dwarf2/attribute.h
index 4dce04d65bb..ce6c5639c1a 100644
--- a/gdb/dwarf2/attribute.h
+++ b/gdb/dwarf2/attribute.h
@@ -105,8 +105,8 @@  struct attribute
   /* Return an unsigned constant value.  This only handles constant
      forms (i.e., form_is_constant -- and not the extended list of
      "unsigned" forms) and assumes an unsigned value is desired.  This
-     can intended for use with DWARF-defined enumerations like DW_CC_*
-     or DW_INL_*, but also in situations where a nonnegative constant
+     can be used with DWARF-defined enumerations like DW_CC_* or
+     DW_INL_*, but also in situations where a nonnegative constant
      integer is specified by DWARF.
 
      If a signed form and negative value is used, or if a non-constant