aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-03-06 12:58:25 +0100
committerTom de Vries <tdevries@suse.de>2025-03-06 12:58:25 +0100
commit37b0b22f16c73903ad382fb8435bdd4b56464001 (patch)
tree3ff219f022483609a81eebb430434684be23af50
parent664c80701d1fa5e862475757769de6a66996ad20 (diff)
downloadbinutils-37b0b22f16c73903ad382fb8435bdd4b56464001.zip
binutils-37b0b22f16c73903ad382fb8435bdd4b56464001.tar.gz
binutils-37b0b22f16c73903ad382fb8435bdd4b56464001.tar.bz2
[gdbsupport] Fix some typos
Fix typos: ... mentionning -> mentioning suppported -> supported aligment -> alignment ...
-rw-r--r--gdbsupport/common-defs.h2
-rw-r--r--gdbsupport/common.m44
-rw-r--r--gdbsupport/packed.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h
index 2cb71e2..7dcaa5b 100644
--- a/gdbsupport/common-defs.h
+++ b/gdbsupport/common-defs.h
@@ -153,7 +153,7 @@
and builds with -O2, and ... the assert doesn't trigger, because it's
optimized away by gcc.
- There's no suppported recipe to prevent the assertion from being optimized
+ There's no supported recipe to prevent the assertion from being optimized
away (other than: build with -O0, or remove the nonnull attribute). Note
that -fno-delete-null-pointer-checks does not help. A patch was submitted
to improve gcc documentation to point this out more clearly (
diff --git a/gdbsupport/common.m4 b/gdbsupport/common.m4
index 54290cc..63e5e93 100644
--- a/gdbsupport/common.m4
+++ b/gdbsupport/common.m4
@@ -292,7 +292,7 @@ AC_CHECK_HEADERS([ \
])
dnl Check that the provided value ($1) is either "yes" or "no". If not,
-dnl emit an error message mentionning the configure option $2, and abort
+dnl emit an error message mentioning the configure option $2, and abort
dnl the script.
AC_DEFUN([GDB_CHECK_YES_NO_VAL],
[
@@ -306,7 +306,7 @@ AC_DEFUN([GDB_CHECK_YES_NO_VAL],
])
dnl Check that the provided value ($1) is either "yes", "no" or "auto". If not,
-dnl emit an error message mentionning the configure option $2, and abort
+dnl emit an error message mentioning the configure option $2, and abort
dnl the script.
AC_DEFUN([GDB_CHECK_YES_NO_AUTO_VAL],
[
diff --git a/gdbsupport/packed.h b/gdbsupport/packed.h
index 37f02d2..3271adc 100644
--- a/gdbsupport/packed.h
+++ b/gdbsupport/packed.h
@@ -75,7 +75,7 @@ public:
m_val = val;
#endif
- /* Ensure size and aligment are what we expect. */
+ /* Ensure size and alignment are what we expect. */
static_assert (sizeof (packed) == Bytes);
static_assert (alignof (packed) == 1);