]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/contrib] Fix "sofar->so far" misspelling
authorTom de Vries <tdevries@suse.de>
Tue, 8 Oct 2024 06:24:13 +0000 (08:24 +0200)
committerTom de Vries <tdevries@suse.de>
Tue, 8 Oct 2024 06:24:13 +0000 (08:24 +0200)
I forgot to follow up on a review comment and fix the "sofar->so far"
misspelling [1].

Fix this by adding it to gdb/contrib/common-misspellings.txt.

Tested on x86_64-linux.

[1] https://sourceware.org/pipermail/gdb-patches/2024-September/211894.html

gdb/contrib/common-misspellings.txt
gdb/run-on-main-thread.c
gdb/symtab.c

index 7281ec085ddfe4f32c877642f27d597b1910bd3f..62e2c510ae332c7c5dc66c88278d22b911736f8d 100644 (file)
@@ -15,3 +15,4 @@
 # Common spelling mistakes.
 
 inbetween->between, in between, in-between
+sofar->so far
index a6213d4d85eea88111bd528f212c4d7596578121..746ea35ee9e6c4f87fa5c0b58f1a416e9a075842 100644 (file)
@@ -85,7 +85,7 @@ run_events (int error, gdb_client_data client_data)
        {
          /* Should cancelation of a runnable event cancel the execution of
             the following one?  The answer is not clear, so keep doing what
-            we've done sofar: ignore this exception.  */
+            we've done so far: ignore this exception.  */
        }
       catch (const gdb_exception &)
        {
index 0a0774694287579abd5ec0d6964a73cca6a4771b..a479e920c60f5e053a3708857ea4f5df82b0e8e1 100644 (file)
@@ -2992,7 +2992,7 @@ find_pc_sect_compunit_symtab (CORE_ADDR pc, struct obj_section *section)
                                           section.  */
            }
 
-         /* Cust is best found sofar, save it.  */
+         /* Cust is best found so far, save it.  */
          best_cust = cust;
          best_cust_range = range;
        }