]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb] Fix typos in some selftests
authorTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 10:34:41 +0000 (11:34 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 6 Mar 2025 10:34:41 +0000 (11:34 +0100)
Fix typos:
...
figured on out -> figured one out
fpr -> for
hopefuly -> hopefully
...

gdb/disasm-selftests.c
gdb/unittests/gmp-utils-selftests.c
gdb/unittests/intrusive_list-selftests.c

index ffacf8b02afd88fa798f3ef37338c8ca5629dccb..97bda8d8828a3a5ec92c3d5fe9537e2f4de64d9b 100644 (file)
@@ -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 *
index f8f978179eadc0356a9bdd28872f205d1f637296..699693c212b2b46ead3060442834ee088853f8d4 100644 (file)
@@ -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,
index fbd89ed8c91a4e0ac5a3d4ed5a076ae5127e04b6..0bcfa624ce579f132b59d019828fd060a5e35909 100644 (file)
@@ -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.