]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb] More codespell fixes
authorTom de Vries <tdevries@suse.de>
Mon, 13 Jul 2026 13:23:12 +0000 (15:23 +0200)
committerTom de Vries <tdevries@suse.de>
Mon, 13 Jul 2026 13:23:12 +0000 (15:23 +0200)
I did this in gdb/pyproject.toml:
...
+regex = "[a-zA-Z0-9\\-']+"
...
allowing us to detect things like 'gcs_availabe':
...
$ echo gcs_availabe | codespell --regex="[a-zA-Z0-9\-']+" -
1: gcs_availabe
availabe ==> available
...
and ran:
...
$ codespell --toml gdb/pyproject.toml gdb*
...
and manually fixed fallout.

This fixes the following typos:
...
  typdef -> typedef
  bloc -> block
  reenables -> re-enables
  overlayed -> overlaid
  advertized -> advertised
  stript -> script
  reenable -> re-enable
  interruptable -> interruptible
  restire -> restore
  sufix -> suffix
  regisers -> registers
  constrait -> constraint
  attriute -> attribute
  followin -> following
  immedate -> immediate
  constrol -> control
  sting -> string
  vesion -> version
  operatons -> operations
  inheritence -> inheritance
  decsription -> description
  hilighted -> highlighted
  enque -> enqueue
  ouputs -> outputs
...

The "vesion -> version" fix in gdb.dwarf2/dw2-entry-pc.exp allowed a bit of
cleanup.

Tested on x86_64-linux and aarch64-linux.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34241

31 files changed:
gdb/ada-lang.c
gdb/ada-tasks.c
gdb/c-typeprint.c
gdb/findvar.c
gdb/go32-nat.c
gdb/guile/guile-internal.h
gdb/infrun.c
gdb/minsyms.c
gdb/python/lib/gdb/dap/server.py
gdb/python/python.c
gdb/rs6000-tdep.c
gdb/stubs/m68k-stub.c
gdb/symfile.c
gdb/symfile.h
gdb/symtab.h
gdb/testsuite/README
gdb/testsuite/gdb.ada/catch_ex.exp
gdb/testsuite/gdb.ada/mi_catch_ex.exp
gdb/testsuite/gdb.base/dup-sect.exp
gdb/testsuite/gdb.base/foll-fork-syscall.exp
gdb/testsuite/gdb.disasm/hppa.exp
gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S
gdb/testsuite/gdb.dwarf2/dw2-entry-pc.exp
gdb/testsuite/gdb.mi/mi-basics.exp
gdb/testsuite/gdb.mi/mi-var-rtti.cc
gdb/testsuite/gdb.mi/mi-var-rtti.exp
gdb/testsuite/gdb.python/py-explore.exp
gdb/tui/tui-regs.c
gdbserver/notif.cc
gdbserver/notif.h
gdbserver/server.cc

index 42fdd97f12faf03946abeeab0c9235f635924bb6..726ee9ae23ec59ec8333b0c32edebeafa21a5ada 100644 (file)
@@ -462,7 +462,7 @@ field_name_match (const char *field_name, const char *target)
 }
 
 
-/* Assuming TYPE is a TYPE_CODE_STRUCT or a TYPE_CODE_TYPDEF to
+/* Assuming TYPE is a TYPE_CODE_STRUCT or a TYPE_CODE_TYPEDEF to
    a TYPE_CODE_STRUCT, find the field whose name matches FIELD_NAME,
    and return its index.  This function also handles fields whose name
    have ___ suffixes because the compiler sometimes alters their name
@@ -8610,7 +8610,7 @@ ada_check_typedef (struct type *type)
 
   /* If our type is an access to an unconstrained array, which is encoded
      as a TYPE_CODE_TYPEDEF of a fat pointer, then we're done.
-     We don't want to strip the TYPE_CODE_TYPDEF layer, because this is
+     We don't want to strip the TYPE_CODE_TYPEDEF layer, because this is
      what allows us to distinguish between fat pointers that represent
      array types, and fat pointers that represent array access types
      (in both cases, the compiler implements them as fat pointers).  */
index f55afcc915d98806c474272a9ac939a78eeaa1ac..6a91bf1953cfffbf9c8067fe933c7bc74b2e9362 100644 (file)
@@ -554,7 +554,7 @@ ada_get_tcb_types_info (void)
   /* Get the type for Ada_Task_Control_Block.Common.  */
   common_type = common_atcb_sym->type ();
 
-  /* Get the type for Ada_Task_Control_Bloc.Common.Call.LL.  */
+  /* Get the type for Ada_Task_Control_Block.Common.Call.LL.  */
   ll_type = private_data_sym->type ();
 
   /* Get the type for Common_ATCB.Call.all.  */
index e418aca56a4a77a8482c591ffadd0e8b43b2c923..aaace85aa29c6da376b4bf88a66c534e04765a08 100644 (file)
@@ -870,7 +870,7 @@ output_access_specifier (struct ui_file *stream,
 }
 
 /* Helper function that temporarily disables FLAGS->PRINT_OFFSETS,
-   calls 'c_print_type_1', and then reenables FLAGS->PRINT_OFFSETS if
+   calls 'c_print_type_1', and then re-enables FLAGS->PRINT_OFFSETS if
    applicable.  */
 
 static void
index 98351143e7979fcf8088f176280f5baa166a2c55..daa4730eb4d0da6526c540b3b71fc649ca141b44 100644 (file)
@@ -338,7 +338,7 @@ language_defn::read_var_value (struct symbol *var,
        if (overlay_debugging)
          {
            struct objfile *var_objfile = var->objfile ();
-           addr = symbol_overlayed_address (var->value_address (),
+           addr = symbol_overlaid_address (var->value_address (),
                                             var->obj_section (var_objfile));
          }
        else
@@ -378,7 +378,7 @@ language_defn::read_var_value (struct symbol *var,
     case LOC_STATIC:
       if (overlay_debugging)
        addr
-         = symbol_overlayed_address (var->value_address (),
+         = symbol_overlaid_address (var->value_address (),
                                      var->obj_section (var->objfile ()));
       else
        addr = var->value_address ();
@@ -419,7 +419,7 @@ language_defn::read_var_value (struct symbol *var,
 
     case LOC_BLOCK:
       if (overlay_debugging)
-       addr = symbol_overlayed_address
+       addr = symbol_overlaid_address
          (var->value_block ()->entry_pc (),
           var->obj_section (var->objfile ()));
       else
@@ -483,7 +483,7 @@ language_defn::read_var_value (struct symbol *var,
        else
          addr = bmsym.value_address ();
        if (overlay_debugging)
-         addr = symbol_overlayed_address (addr, obj_section);
+         addr = symbol_overlaid_address (addr, obj_section);
        /* Determine address of TLS variable. */
        if (obj_section
            && (obj_section->the_bfd_section->flags & SEC_THREAD_LOCAL) != 0)
index c512d6bcd6864e92ea79a76529f6194ed266891d..8989a66f903aaafb71964df1781c8b3d2c3421a4 100644 (file)
@@ -1072,7 +1072,7 @@ go32_sysinfo (const char *arg, int from_tty)
   char cpuid_vendor[13];
   unsigned cpuid_max = 0, cpuid_eax, cpuid_ebx, cpuid_ecx, cpuid_edx;
   unsigned true_dos_version = _get_dos_version (1);
-  unsigned advertized_dos_version = ((unsigned int)_osmajor << 8) | _osminor;
+  unsigned advertised_dos_version = ((unsigned int)_osmajor << 8) | _osminor;
   int dpmi_flags;
   char dpmi_vendor_info[129];
   int dpmi_vendor_available;
@@ -1279,7 +1279,7 @@ go32_sysinfo (const char *arg, int from_tty)
   gdb_puts ("\n");
   gdb_printf ("DOS Version....................%s %s.%s",
              _os_flavor, u.release, u.version);
-  if (true_dos_version != advertized_dos_version)
+  if (true_dos_version != advertised_dos_version)
     gdb_printf (" (disguised as v%d.%d)", _osmajor, _osminor);
   gdb_puts ("\n");
   if (!windows_major)
@@ -1321,7 +1321,7 @@ go32_sysinfo (const char *arg, int from_tty)
        }
       gdb_printf ("%s)\n", windows_flavor);
     }
-  else if (true_dos_version == 0x532 && advertized_dos_version == 0x500)
+  else if (true_dos_version == 0x532 && advertised_dos_version == 0x500)
     gdb_printf ("Windows Version................"
                "Windows NT family (W2K/XP/W2K3/Vista/W2K8)\n");
   gdb_puts ("\n");
index 20709e6a1d1f4afee23f757c3d75c5b74e0d7c10..a7860901e65745f76d32238248445e72c4d1fba8 100644 (file)
@@ -594,7 +594,7 @@ extern struct value *vlscm_convert_value_from_scheme
   (const char *func_name, int obj_arg_pos, SCM obj, SCM *except_scmp,
    struct gdbarch *gdbarch, const struct language_defn *language);
 \f
-/* stript_lang methods */
+/* script_lang methods */
 
 extern objfile_script_sourcer_func gdbscm_source_objfile_script;
 extern objfile_script_executor_func gdbscm_execute_objfile_script;
index 7b5fd932ea5c2c93fd8736c25e3de6afc75c58c5..c0767e7f7645075391d2268161289358c20f8ad3 100644 (file)
@@ -5738,7 +5738,7 @@ handle_one (const wait_one_event &event)
    the expected stops.  */
 
 static void
-reenable_target_async ()
+re_enable_target_async ()
 {
   for (inferior *inf : all_inferiors ())
     {
@@ -5882,7 +5882,7 @@ stop_all_threads (const char *reason, inferior *inf)
          if (pass > 0)
            pass = -1;
 
-         reenable_target_async ();
+         re_enable_target_async ();
 
          for (int i = 0; i < waits_needed; i++)
            {
index 4eafc789047823ec5ba3322b5e187937eb8108c5..ad63e9d5eaf05cdb1febc73cadfca62181e8a856 100644 (file)
@@ -1618,7 +1618,7 @@ find_minsym_type_and_address (minimal_symbol *msymbol,
     addr = bound_msym.value_address ();
 
   if (overlay_debugging)
-    addr = symbol_overlayed_address (addr, section);
+    addr = symbol_overlaid_address (addr, section);
 
   if (is_tls)
     {
index d94036e03e5d89d4918b9c891e40176a8ca15d23..04b3c4de0de05f9c84d8abf8f06df9a656cf7119 100644 (file)
@@ -213,7 +213,7 @@ class CancellationHandler:
                 heapq.heappush(self._reqs, req)
 
     @contextmanager
-    def interruptable_region(self, req):
+    def interruptible_region(self, req):
         """Return a new context manager that sets in_flight_gdb_thread to
         REQ."""
         if req is None:
@@ -672,7 +672,7 @@ class Cancellable(object):
     @in_gdb_thread
     def __call__(self):
         try:
-            with _server.canceller.interruptable_region(self.req):
+            with _server.canceller.interruptible_region(self.req):
                 val = self._fn()
                 if self._result_q is not None:
                     self._result_q.put(val)
index 2131c4a0648e8ed54b3851ba1d0dfbf025011358..214abd039057fc1f8c488d1685102a856384916a 100644 (file)
@@ -1824,7 +1824,7 @@ gdbpy_source_objfile_script (const struct extension_language_defn *extlang,
     return;
 
   gdbpy_enter enter_py (objfile->arch ());
-  scoped_restore restire_current_objfile
+  scoped_restore restore_current_objfile
     = make_scoped_restore (&gdbpy_current_objfile, objfile);
 
   int result = python_run_simple_file (file, filename);
@@ -1847,7 +1847,7 @@ gdbpy_execute_objfile_script (const struct extension_language_defn *extlang,
     return;
 
   gdbpy_enter enter_py (objfile->arch ());
-  scoped_restore restire_current_objfile
+  scoped_restore restore_current_objfile
     = make_scoped_restore (&gdbpy_current_objfile, objfile);
 
   int ret = eval_python_command (script, Py_file_input);
index 0f4a4782f302e52a229a511850ce90f2d34fd39e..e7d1ec07c970ac718376743caf12e9f803be77b9 100644 (file)
@@ -4182,7 +4182,7 @@ bfd_uses_spe_extensions (bfd *abfd)
 #define P_PPC_D(insn_prefix, insn_suffix) \
   PPC_SEXT (PPC_FIELD (insn_prefix, 14, 18) << 16 \
            | PPC_FIELD (insn_suffix, 16, 16), 34)
-#define P_PPC_TX5(insn_sufix)  PPC_BIT (insn_suffix, 5)
+#define P_PPC_TX5(insn_suffix) PPC_BIT (insn_suffix, 5)
 #define P_PPC_TX15(insn_suffix) PPC_BIT (insn_suffix, 15)
 #define P_PPC_XT(insn_suffix)  ((PPC_TX (insn_suffix) << 5) \
                                 | PPC_T (insn_suffix))
index 57437dd04f702086b87f9c6fd54d37911b37cd24..cbea4772fc739536233d4750a59819b74c187e0b 100644 (file)
@@ -330,7 +330,7 @@ asm("
        movew   sp@,d1          /* get status register          */
        movew   d1,a5@(66)      /* save sr                      */
        movel   sp@(2),a4       /* save pc in a4 for later use  */
-       movel   a4,a5@(68)      /* save pc in _regisers[]       */
+       movel   a4,a5@(68)      /* save pc in _registers[]              */
 
 #
 # figure out how many bytes in the stack frame
@@ -430,7 +430,7 @@ normal:
        movew   sp@+,d1         /* pop status register          */
        movel   sp@+,a4         /* pop program counter          */
        movew   d1,a5@(66)      /* save sr                      */
-       movel   a4,a5@(68)      /* save pc in _regisers[]       */
+       movel   a4,a5@(68)      /* save pc in _registers[]              */
        movel   a4,a0@-         /* copy pc to frame buffer      */
        movew   d1,a0@-         /* copy sr to frame buffer      */
 
index 0357f12479438f7fcf008f05ef2b937c94623539..017f7a49d8da028ccd7fd2830fbc0d010118db07 100644 (file)
@@ -2927,7 +2927,7 @@ clear_symtab_users (symfile_add_flags add_flags)
    sections_overlap(sec1, sec2):  true if mapped sec1 and sec2 ranges overlap
    overlay_mapped_address(...):   map an address from section's LMA to VMA
    overlay_unmapped_address(...): map an address from section's VMA to LMA
-   symbol_overlayed_address(...): Return a "current" address for symbol:
+   symbol_overlaid_address(...): Return a "current" address for symbol:
    either in VMA or LMA depending on whether
    the symbol's section is currently mapped.  */
 
@@ -3096,12 +3096,12 @@ overlay_mapped_address (CORE_ADDR pc, struct obj_section *section)
   return pc;
 }
 
-/* Function: symbol_overlayed_address
+/* Function: symbol_overlaid_address
    Return one of two addresses (relative to the VMA or to the LMA),
    depending on whether the section is mapped or not.  */
 
 CORE_ADDR
-symbol_overlayed_address (CORE_ADDR address, struct obj_section *section)
+symbol_overlaid_address (CORE_ADDR address, struct obj_section *section)
 {
   if (overlay_debugging)
     {
index 770bd291ab11055ea388c7acd0c165ade896e9a9..0aed0f4db4d756709efaaec721dc39ebb0b57edc 100644 (file)
@@ -301,7 +301,7 @@ extern CORE_ADDR overlay_mapped_address (CORE_ADDR, struct obj_section *);
 extern CORE_ADDR overlay_unmapped_address (CORE_ADDR, struct obj_section *);
 
 /* Convert an address in an overlay section (force into VMA range).  */
-extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, struct obj_section *);
+extern CORE_ADDR symbol_overlaid_address (CORE_ADDR, struct obj_section *);
 
 /* Load symbols from a file.  */
 extern void symbol_file_add_main (const char *args,
index b8af22a14224a455de4b4eccc6540ac2a66609aa..7b96b8c989cfaf8d9b0cd64a1a37ba87774e496a 100644 (file)
@@ -619,7 +619,7 @@ struct general_symbol_info
   struct obj_section *obj_section (const struct objfile *objfile) const;
 };
 
-extern CORE_ADDR symbol_overlayed_address (CORE_ADDR, struct obj_section *);
+extern CORE_ADDR symbol_overlaid_address (CORE_ADDR, struct obj_section *);
 
 /* Try to determine the demangled name for a symbol, based on the
    language of that symbol.  If the language is set to language_auto,
index 479e81f90f5cc9a82aafd5b0a175022cd4efe9d7..f354144b87262d80c4b0aa070b0dc63df20d8805 100644 (file)
@@ -81,7 +81,7 @@ iterations will be run.
 
 After running the tests, you shall see a file name 'racy.sum' in the
 gdb/testsuite directory.  You can also inspect the generated *.log and
-*.sum files by looking into the gdb/testsuite/racy_ouputs directory.
+*.sum files by looking into the gdb/testsuite/racy_outputs directory.
 
 If you already have *.sum files generated from previous testsuite runs
 and you would like to analyze them without having to run the testsuite
index dd482561a9c0bfc12cdf8a8e53c39b817b9c8914..dcdebeca3e4209257739dcd3d84ba55a02e937b7 100644 (file)
@@ -75,7 +75,7 @@ gdb_test "continue" \
 #    We'll catch unhandled exceptions
 #  - continue, we should see the first Program_Error exception
 #  - continue, we should see the failed assertion
-#  - continue, we should see the unhandled Constrait_Error exception
+#  - continue, we should see the unhandled Constraint_Error exception
 #  - continue, the program exits.
 
 if {![runto_main]} {
index 3a88881a32140b8cb13120d7bbaf98e5e33865eb..bf8ee29435b1605cdc070bdb3c0e089f216f23bd 100644 (file)
@@ -90,7 +90,7 @@ continue_to_exception \
 #    We'll catch unhandled exceptions
 #  - continue, we should see the first Program_Error exception
 #  - continue, we should see the failed assertion
-#  - continue, we should see the unhandled Constrait_Error exception
+#  - continue, we should see the unhandled Constraint_Error exception
 #  - continue, the program exits.
 
 with_test_prefix "scenario 2" {
index d89f5fa1956b2dcdcd22e08ccc9e3178514a074b..f341456e00e34010ffd1a1d37963a52bccedf3ef 100644 (file)
@@ -19,7 +19,7 @@
 # When kept in object file (before final executable link) it still works.
 # When separate debug info file is not used it still works.
 # When the ELF symbol table is kept in the main binary it still works.
-# Used .S file as in .c file we would need __attriute__((section)) which is
+# Used .S file as in .c file we would need __attribute__((section)) which is
 # a GCC extension.
 
 # This test can only be run on targets which support ELF and use gas.
index 0452d403c62a4bad1620f88d2ea0c6816b4035d2..bbda7aba6e2e16027865b3b38e8adc8c7be85518 100644 (file)
@@ -97,7 +97,7 @@ proc_with_prefix test_catch_syscall {follow-fork-mode detach-on-fork} {
     if {${follow-fork-mode} == "parent"} {
        set following_inf 1
     } else {
-       set followin_inf 2
+       set following_inf 2
     }
     # Next stop should be the fork catchpoint.
     set expected_re ""
index 9881a3d6544f483d316cb36e646b2455f0ca0cfd..c8e27614cee6c63fd8ced15ba025bb9fbac05623 100644 (file)
@@ -142,9 +142,9 @@ proc all_immediate_tests { } {
 .*ldo 5\\(r26\\),r26.*
 .*ldil -21524800,r26.*
 .*addil -21524800,r5.*
-.*$gdb_prompt $" { pass "immedate_tests" }
-       -re "$gdb_prompt $" { fail "immedate_tests" }
-       timeout { fail "(timeout) immedate_tests " }
+.*$gdb_prompt $" { pass "immediate_tests" }
+       -re "$gdb_prompt $" { fail "immediate_tests" }
+       timeout { fail "(timeout) immediate_tests " }
     }
 }
 
@@ -849,7 +849,7 @@ proc all_system_control_tests { } {
 .*sync.*
 .*syncdma.*
 .*diag 4d2.*
-.*$gdb_prompt $" { pass "system_constrol_tests" }
+.*$gdb_prompt $" { pass "system_control_tests" }
        -re "$gdb_prompt $" { fail "system_control_tests" }
        timeout { file "(timeout) system_control_tests" }
     }
index 360fb158242236a136f7cb5447c4374ef41c7848..d5d98be01f23c36e574c699dde8c82b9c21daa60 100644 (file)
        .uleb128 0x13   /* (DW_AT_language) */
        .uleb128 0xb    /* (DW_FORM_data1) */
        .uleb128 0x3    /* (DW_AT_name) */
-       .uleb128 0x8    /* (DW_FORM_sting) */
+       .uleb128 0x8    /* (DW_FORM_string) */
        .byte   0x0
        .byte   0x0
 
index d386614edb5192830678c426391f08a87d30b12c..193c26bb65dc0dcafb16bde4c652e531edcf5187 100644 (file)
@@ -143,17 +143,18 @@ proc build_and_test_ranged { suffix asm_file entry_pc } {
 # the entry_pc attribute is not given.  The function's entry PC will
 # default to the low address.
 
-proc_with_prefix use_low_high_bounds_without_entry_pc { dwarf_vesion } {
+proc_with_prefix use_low_high_bounds_without_entry_pc { dwarf_version } {
     set suffix [get_next_suffix]
 
     # Make some DWARF for the test.
     set asm_file [standard_output_file "$::testfile-dw-$suffix.S"]
     Dwarf::assemble $asm_file {
+       upvar dwarf_version dwarf_version
        global srcfile
 
        declare_labels lines_table
 
-       cu { version $::dwarf_version } {
+       cu { version $dwarf_version } {
            compile_unit {
                DW_AT_producer "gcc"
                DW_AT_language @DW_LANG_C
@@ -287,7 +288,7 @@ proc_with_prefix use_ranges_without_entry_pc { dwarf_version } {
 
        declare_labels lines_table ranges_label
 
-       cu { version $::dwarf_version } {
+       cu { version $dwarf_version } {
            compile_unit {
                DW_AT_producer "gcc"
                DW_AT_language @DW_LANG_C
@@ -351,7 +352,7 @@ proc_with_prefix use_ranges_with_entry_pc { dwarf_version } {
 
        declare_labels lines_table ranges_label
 
-       cu { version $::dwarf_version } {
+       cu { version $dwarf_version } {
            compile_unit {
                DW_AT_producer "gcc"
                DW_AT_language @DW_LANG_C
@@ -418,7 +419,7 @@ proc_with_prefix use_ranges_with_entry_offset { dwarf_version } {
 
        set foo_offset [expr {$::foo_middle_addr - $::r1_s}]
 
-       cu { version $::dwarf_version } {
+       cu { version $dwarf_version } {
            compile_unit {
                DW_AT_producer "gcc"
                DW_AT_language @DW_LANG_C
index 8f18f41af04b7ba832ede1afdda9149068c2a0ca..a48b8521f5abde28ce4a2072433415276fbf97e2 100644 (file)
@@ -69,7 +69,7 @@ proc test_mi_interpreter_selection {} {
     return 0
 }
 
-proc test_exec_and_symbol_mi_operatons {} {
+proc test_exec_and_symbol_mi_operations {} {
     global mi_gdb_prompt
     global binfile testfile
 
@@ -261,7 +261,7 @@ proc test_setshow_inferior_tty {} {
 }
 
 if { [test_mi_interpreter_selection]
-      && [test_exec_and_symbol_mi_operatons] } {
+      && [test_exec_and_symbol_mi_operations] } {
   test_breakpoints_deletion
   test_dir_specification
   test_cwd_specification
index bde28ebaeda705a6f86cef12bf7b8d512fc66306..26f1f93ad0c635a3b43a7f0d374993bcf5e015c5 100644 (file)
@@ -193,14 +193,14 @@ struct MultipleDerived : public First, Base {
 };
 
 
-void use_rtti_with_multiple_inheritence_test ()
+void use_rtti_with_multiple_inheritance_test ()
 {
-  /*: BEGIN: use_rtti_with_multiple_inheritence :*/
+  /*: BEGIN: use_rtti_with_multiple_inheritance :*/
        MultipleDerived d;
        Base* ptr = &d;
        Base& ref = d;
   /*:
-       set testname use_rtti_with_multiple_inheritence
+       set testname use_rtti_with_multiple_inheritance
        set_print_object off $testname
        check_new_derived_without_rtti ptr {Base \*} $testname
        check_new_derived_without_rtti ref {Base \&} $testname
@@ -234,7 +234,7 @@ void use_rtti_with_multiple_inheritence_test ()
            "delete varobj for ptr (with RTTI) in $testname"
   :*/
        return;
-  /*: END: use_rtti_with_multiple_inheritence :*/
+  /*: END: use_rtti_with_multiple_inheritance :*/
 }
 
 
@@ -362,7 +362,7 @@ int main ()
        use_rtti_for_ref_test();
        use_rtti_for_ptr_child_test();
        use_rtti_for_ref_child_test();
-       use_rtti_with_multiple_inheritence_test();
+       use_rtti_with_multiple_inheritance_test();
        type_update_when_use_rtti_test();
        skip_type_update_when_not_use_rtti_test();
        return 0;
index 4a1bee241f9fc9187718cffda11e724227ed86cb..640d1ca71f36fb83af42e295d3edef725efdfe07 100644 (file)
@@ -111,7 +111,7 @@ set inline_tests {
     use_rtti_for_ref
     use_rtti_for_ptr_child
     use_rtti_for_ref_child
-    use_rtti_with_multiple_inheritence
+    use_rtti_with_multiple_inheritance
     type_update_when_use_rtti
     skip_type_update_when_not_use_rtti
 }
index debe30315356974c85184f1e9d132640f7c44749..d3a25a5df33aea96d956da0b5e38ed285b014e0c 100644 (file)
@@ -220,7 +220,7 @@ gdb_test_multiple "explore cu" "" {
 # Type exploration tests
 ########################
 
-proc scalar_type_decsription {type} {
+proc scalar_type_description {type} {
     return "'$type' is a scalar type\."
 }
 
@@ -258,7 +258,7 @@ set CU_field_0 "field 's' of 'union ComplexUnion'"
 set CU_field_1 "field 'sa' of 'union ComplexUnion'"
 set CU_field_1_array_element "an array element of $CU_field_1"
 
-gdb_test "explore int" ".*[scalar_type_decsription {int}].*"
+gdb_test "explore int" ".*[scalar_type_description {int}].*"
 
 gdb_test_multiple "explore struct SimpleStruct" "" {
     -re ".*[compound_type_description $SS {struct/class}].*$SS_fields_types.*" {
index 3e2e0745993ec8d6259c4a89670d85c6d96f5ce2..20ab8444b4428f2583c6b1f2095a47c2d02f15c0 100644 (file)
@@ -361,11 +361,11 @@ tui_data_window::check_register_values (const frame_info_ptr &frame)
     {
       for (tui_register_info &data_item_win : m_regs_content)
        {
-         bool was_hilighted = data_item_win.highlighted ();
+         bool was_highlighted = data_item_win.highlighted ();
 
          data_item_win.update (frame);
 
-         if ((data_item_win.highlighted () || was_hilighted)
+         if ((data_item_win.highlighted () || was_highlighted)
              && data_item_win.visible ())
            data_item_win.rerender (handle.get (), m_item_width);
        }
index 4a2b12b81477bd6557472a8b357ed47545a586c8..1745a96a051e03514fde22680a026c4b5bf2d549 100644 (file)
@@ -115,7 +115,7 @@ handle_notif_ack (char *own_buf, int packet_len)
 /* Put EVENT to the queue of NOTIF.  */
 
 void
-notif_event_enque (struct notif_server *notif,
+notif_event_enqueue (struct notif_server *notif,
                   struct notif_event *event)
 {
   notif->queue.push_back (event);
@@ -133,7 +133,7 @@ notif_push (struct notif_server *np, struct notif_event *new_event)
   bool is_first_event = np->queue.empty ();
 
   /* Something interesting.  Tell GDB about it.  */
-  notif_event_enque (np, new_event);
+  notif_event_enqueue (np, new_event);
 
   /* If this is the first stop reply in the queue, then inform GDB
      about it, by sending a corresponding notification.  */
index caa2f36f66d48fbe48ba0794e3ca810457bba2e7..18b507dce5b4077c4f59069c19ce435e49388b3d 100644 (file)
@@ -63,7 +63,7 @@ int handle_notif_ack (char *own_buf, int packet_len);
 void notif_write_event (struct notif_server *notif, char *own_buf);
 
 void notif_push (struct notif_server *np, struct notif_event *event);
-void notif_event_enque (struct notif_server *notif,
+void notif_event_enqueue (struct notif_server *notif,
                        struct notif_event *event);
 
 #endif /* GDBSERVER_NOTIF_H */
index ba172b2f3329b4b5aed2d2d50f9ee5edc07c835b..4a727c465f0d9f9e2ec3b6bb1f6fc474d9284870 100644 (file)
@@ -188,7 +188,7 @@ queue_stop_reply (ptid_t ptid, const target_waitstatus &status)
   new_notif->ptid = ptid;
   new_notif->status = status;
 
-  notif_event_enque (&notif_stop, new_notif);
+  notif_event_enqueue (&notif_stop, new_notif);
 }
 
 static bool
@@ -3707,7 +3707,7 @@ queue_stop_reply_callback (thread_info *thread)
       new_notif->status = thread->last_status;
       /* Pass the last stop reply back to GDB, but don't notify
         yet.  */
-      notif_event_enque (&notif_stop, new_notif);
+      notif_event_enqueue (&notif_stop, new_notif);
     }
   else
     {