From: Tom de Vries Date: Thu, 6 Mar 2025 10:34:41 +0000 (+0100) Subject: [gdb] Fix typos in some selftests X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=664c80701d1fa5e862475757769de6a66996ad20;p=thirdparty%2Fbinutils-gdb.git [gdb] Fix typos in some selftests Fix typos: ... figured on out -> figured one out fpr -> for hopefuly -> hopefully ... --- diff --git a/gdb/disasm-selftests.c b/gdb/disasm-selftests.c index ffacf8b02af..97bda8d8828 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 f8f978179ea..699693c212b 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 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 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 fbd89ed8c91..0bcfa624ce5 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.