aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-03-06 11:34:41 +0100
committerTom de Vries <tdevries@suse.de>2025-03-06 11:34:41 +0100
commit664c80701d1fa5e862475757769de6a66996ad20 (patch)
tree1e9afd5ca068beea145101f7a8fe010ec43734e9
parentd0bcc49443f44cb47a9c0da11bd1fff4f85296de (diff)
downloadbinutils-664c80701d1fa5e862475757769de6a66996ad20.zip
binutils-664c80701d1fa5e862475757769de6a66996ad20.tar.gz
binutils-664c80701d1fa5e862475757769de6a66996ad20.tar.bz2
[gdb] Fix typos in some selftests
Fix typos: ... figured on out -> figured one out fpr -> for hopefuly -> hopefully ...
-rw-r--r--gdb/disasm-selftests.c2
-rw-r--r--gdb/unittests/gmp-utils-selftests.c6
-rw-r--r--gdb/unittests/intrusive_list-selftests.c2
3 files changed, 5 insertions, 5 deletions
diff --git a/gdb/disasm-selftests.c b/gdb/disasm-selftests.c
index ffacf8b..97bda8d 100644
--- a/gdb/disasm-selftests.c
+++ b/gdb/disasm-selftests.c
@@ -29,7 +29,7 @@ namespace selftests {
of the returned buffer.
If there's no known instruction to disassemble for GDBARCH (because we
- haven't figured on out, not because no instructions exist) then nullptr
+ haven't figured one out, not because no instructions exist) then nullptr
is returned, and *LEN is set to 0. */
static const gdb_byte *
diff --git a/gdb/unittests/gmp-utils-selftests.c b/gdb/unittests/gmp-utils-selftests.c
index f8f9781..699693c 100644
--- a/gdb/unittests/gmp-utils-selftests.c
+++ b/gdb/unittests/gmp-utils-selftests.c
@@ -155,7 +155,7 @@ gdb_mpz_as_integer_out_of_range ()
to provide a bit more information about the kind of values
that were used when the check failed. This makes the writing
of the tests a little more verbose, but the debugging in case
- of problems should hopefuly be easier. */
+ of problems should hopefully be easier. */
template<typename T>
void
@@ -287,7 +287,7 @@ gdb_mpz_read_min_max ()
to provide a bit more information about the kind of values
that were used when the check failed. This makes the writing
of the tests a little more verbose, but the debugging in case
- of problems should hopefuly be easier. */
+ of problems should hopefully be easier. */
template<typename T>
T
@@ -384,7 +384,7 @@ gdb_mpz_write_min_max ()
to provide a bit more information about the kind of values
that were used when the check failed. This makes the writing
of the tests a little more verbose, but the debugging in case
- of problems should hopefuly be easier. */
+ of problems should hopefully be easier. */
static void
read_fp_test (int unscaled, const gdb_mpq &scaling_factor,
diff --git a/gdb/unittests/intrusive_list-selftests.c b/gdb/unittests/intrusive_list-selftests.c
index fbd89ed..0bcfa62 100644
--- a/gdb/unittests/intrusive_list-selftests.c
+++ b/gdb/unittests/intrusive_list-selftests.c
@@ -1,4 +1,4 @@
-/* Tests fpr intrusive double linked list for GDB, the GNU debugger.
+/* Tests for intrusive double linked list for GDB, the GNU debugger.
Copyright (C) 2021-2024 Free Software Foundation, Inc.
This file is part of GDB.