]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/contrib] Handle double quotes in spellcheck.sh
authorTom de Vries <tdevries@suse.de>
Wed, 13 Nov 2024 20:06:58 +0000 (21:06 +0100)
committerTom de Vries <tdevries@suse.de>
Wed, 13 Nov 2024 20:06:58 +0000 (21:06 +0100)
Add handling of double quotes in gdb/contrib/spellcheck.sh, and fix the
following typos:
...
inheritence -> inheritance
psuedo -> pseudo
succeded -> succeeded
...

Tested on x86_64-linux.

Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/contrib/spellcheck.sh
gdb/darwin-nat-info.c
gdb/sparc-tdep.c
gdb/sparc64-tdep.c
gdb/testsuite/config/slite.exp

index 3399e41ea7fad1c4f22c5feec8f558dbaca98e26..a95b325ffb3af0987d7fee2a8de41a8a4795eea9 100755 (executable)
@@ -37,6 +37,7 @@ grep_separators=(
     "  "
     ":"
     ","
+    "\""
 )
 declare -a sed_separators
 sed_separators=(
@@ -45,6 +46,7 @@ sed_separators=(
     "\t"
     ":"
     ","
+    "\""
 )
 
 # Pre: start of line, left parenthesis.
index 121c3a583883624082e745d8548bf2a7bddfd01e..0157dfbb4601735c36ba9b61a1ea43221dbfffe2 100644 (file)
@@ -630,7 +630,7 @@ darwin_debug_regions_recurse (task_t task)
     }
   uiout->table_header (3, ui_left, "min-prot", "Min");
   uiout->table_header (3, ui_left, "max-prot", "Max");
-  uiout->table_header (5, ui_left, "inheritence", "Inh");
+  uiout->table_header (5, ui_left, "inheritance", "Inh");
   uiout->table_header (9, ui_left, "share-mode", "Shr");
   uiout->table_header (1, ui_left, "depth", "D");
   uiout->table_header (3, ui_left, "submap", "Sm");
@@ -662,7 +662,7 @@ darwin_debug_regions_recurse (task_t task)
                             unparse_protection (r_info.protection));
        uiout->field_string ("max-prot",
                             unparse_protection (r_info.max_protection));
-       uiout->field_string ("inheritence",
+       uiout->field_string ("inheritance",
                             unparse_inheritance (r_info.inheritance));
        uiout->field_string ("share-mode",
                             unparse_share_mode (r_info.share_mode));
index 43e70364d17b37de91275664ebae072c7bf0cb39..b48b130c0c52de025f188a4d835e02cb77216307 100644 (file)
@@ -380,7 +380,7 @@ static const char * const sparc32_register_names[] =
 #define SPARC32_NUM_REGS ARRAY_SIZE (sparc32_register_names)
 
 /* We provide the aliases %d0..%d30 for the floating registers as
-   "psuedo" registers.  */
+   "pseudo" registers.  */
 
 static const char * const sparc32_pseudo_register_names[] =
 {
index d1e3ae155bf92fa0a87c411bce96001580db43bd..dc8032f29699f8353a5d020c0ecd2d7b2aef228c 100644 (file)
@@ -786,7 +786,7 @@ static const char * const sparc64_register_names[] =
 #define SPARC64_NUM_REGS ARRAY_SIZE (sparc64_register_names)
 
 /* We provide the aliases %d0..%d62 and %q0..%q60 for the floating
-   registers as "psuedo" registers.  */
+   registers as "pseudo" registers.  */
 
 static const char * const sparc64_pseudo_register_names[] =
 {
index e1068b74911e78a862f324ff93b024c9a57dbce6..d472a63523dc5c4bdae33bfa25d682d21aff21bd 100644 (file)
@@ -139,7 +139,7 @@ proc gdb_load { arg } {
        sleep 2
        send_gdb "\ 3"
        gdb_expect {
-            -re ".*$gdb_prompt $" { verbose "Run command succeded" }
+            -re ".*$gdb_prompt $" { verbose "Run command succeeded" }
             default {
                perror "error sending monitor run command"
            }