From: Tom de Vries Date: Thu, 6 Mar 2025 11:58:25 +0000 (+0100) Subject: [gdbsupport] Fix some typos X-Git-Tag: binutils-2_45~1370 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=37b0b22f16c73903ad382fb8435bdd4b56464001;p=thirdparty%2Fbinutils-gdb.git [gdbsupport] Fix some typos Fix typos: ... mentionning -> mentioning suppported -> supported aligment -> alignment ... --- diff --git a/gdbsupport/common-defs.h b/gdbsupport/common-defs.h index 2cb71e2ebca..7dcaa5b9845 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 54290cc85e7..63e5e933ba9 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 37f02d26373..3271adc0985 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);