]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb] Fix common misspellings
authorTom de Vries <tdevries@suse.de>
Sun, 6 Oct 2024 05:59:48 +0000 (07:59 +0200)
committerTom de Vries <tdevries@suse.de>
Sun, 6 Oct 2024 05:59:48 +0000 (07:59 +0200)
Fix the following common misspellings:
...
accidently -> accidentally
additonal -> additional
addresing -> addressing
adress -> address
agaisnt -> against
albiet -> albeit
arbitary -> arbitrary
artifical -> artificial
auxillary -> auxiliary
auxilliary -> auxiliary
bcak -> back
begining -> beginning
cannonical -> canonical
compatiblity -> compatibility
completetion -> completion
diferent -> different
emited -> emitted
emiting -> emitting
emmitted -> emitted
everytime -> every time
excercise -> exercise
existance -> existence
fucntion -> function
funtion -> function
guarentee -> guarantee
htis -> this
immediatly -> immediately
layed -> laid
noone -> no one
occurances -> occurrences
occured -> occurred
originaly -> originally
preceeded -> preceded
preceeds -> precedes
propogate -> propagate
publically -> publicly
refering -> referring
substract -> subtract
substracting -> subtracting
substraction -> subtraction
taht -> that
targetting -> targeting
teh -> the
thier -> their
thru -> through
transfered -> transferred
transfering -> transferring
upto -> up to
vincinity -> vicinity
whcih -> which
whereever -> wherever
wierd -> weird
withing -> within
writen -> written
wtih -> with
doesnt -> doesn't
...

Tested on x86_64-linux.

112 files changed:
gdb/Makefile.in
gdb/NEWS
gdb/ada-lang.c
gdb/ada-lex.l
gdb/ada-tasks.c
gdb/alpha-tdep.h
gdb/arc-linux-tdep.c
gdb/arc-tdep.c
gdb/arm-tdep.c
gdb/auxv.c
gdb/breakpoint.c
gdb/coffread.c
gdb/contrib/ari/gdb_ari.sh
gdb/cris-tdep.c
gdb/dictionary.h
gdb/doc/gdb.texinfo
gdb/dwarf2/frame.c
gdb/dwarf2/loc.c
gdb/dwarf2/read.c
gdb/eval.c
gdb/extension.c
gdb/gdbtypes.c
gdb/i386-linux-nat.c
gdb/i386-tdep.c
gdb/ia64-tdep.h
gdb/inf-ptrace.c
gdb/linux-tdep.c
gdb/m68k-linux-nat.c
gdb/mdebugread.c
gdb/memattr.c
gdb/microblaze-tdep.c
gdb/mips-tdep.c
gdb/objc-lang.c
gdb/ppc-linux-tdep.c
gdb/procfs.c
gdb/python/lib/gdb/disassembler.py
gdb/remote.c
gdb/rs6000-tdep.c
gdb/rust-lang.h
gdb/s390-tdep.c
gdb/ser-base.c
gdb/sh-tdep.c
gdb/solib-svr4.c
gdb/sparc-tdep.c
gdb/stabsread.c
gdb/stabsread.h
gdb/stubs/ia64vms-stub.c
gdb/stubs/m32r-stub.c
gdb/symtab.c
gdb/target.c
gdb/target.h
gdb/testsuite/gdb.ada/exec_changed.exp
gdb/testsuite/gdb.ada/task_switch_in_core.exp
gdb/testsuite/gdb.arch/e500-prologue.exp
gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp
gdb/testsuite/gdb.arch/ppc64-break-on-_exit.exp
gdb/testsuite/gdb.arch/riscv-tdesc-loading.exp
gdb/testsuite/gdb.base/call-sc.exp
gdb/testsuite/gdb.base/filename-completion.exp
gdb/testsuite/gdb.base/gnu-ifunc.exp
gdb/testsuite/gdb.base/info_sources_2.exp
gdb/testsuite/gdb.base/killed-outside.exp
gdb/testsuite/gdb.base/lineinc.exp
gdb/testsuite/gdb.base/overlays.exp
gdb/testsuite/gdb.base/sigbpt.exp
gdb/testsuite/gdb.base/signals.exp
gdb/testsuite/gdb.base/sigrepeat.c
gdb/testsuite/gdb.base/store.exp
gdb/testsuite/gdb.base/structs.exp
gdb/testsuite/gdb.base/testenv.exp
gdb/testsuite/gdb.base/watchpoint-stops-at-right-insn.exp
gdb/testsuite/gdb.base/whatis-ptype-typedefs.exp
gdb/testsuite/gdb.cp/rtti.exp
gdb/testsuite/gdb.cp/step-and-next-inline.exp
gdb/testsuite/gdb.dwarf2/dw2-ranges-base.exp
gdb/testsuite/gdb.dwarf2/fission-reread.S
gdb/testsuite/gdb.dwarf2/multidictionary.exp
gdb/testsuite/gdb.dwarf2/pr13961.S
gdb/testsuite/gdb.fortran/types.exp
gdb/testsuite/gdb.fortran/vla-value-sub-arbitrary.exp
gdb/testsuite/gdb.gdb/python-helper.exp
gdb/testsuite/gdb.go/integers.exp
gdb/testsuite/gdb.linespec/cp-replace-typedefs-ns-template.exp
gdb/testsuite/gdb.linespec/cpcompletion.exp
gdb/testsuite/gdb.mi/mi-breakpoint-changed.exp
gdb/testsuite/gdb.mi/mi-thread-bp-deleted.exp
gdb/testsuite/gdb.multi/multi-term-settings.exp
gdb/testsuite/gdb.opt/break-on-_exit.exp
gdb/testsuite/gdb.pascal/floats.exp
gdb/testsuite/gdb.pascal/integers.exp
gdb/testsuite/gdb.pascal/types.exp
gdb/testsuite/gdb.python/py-format-string.exp
gdb/testsuite/gdb.reverse/func-map-to-same-line.exp
gdb/testsuite/gdb.reverse/step-precsave.exp
gdb/testsuite/gdb.reverse/step-reverse.exp
gdb/testsuite/gdb.threads/thread-bp-deleted.exp
gdb/testsuite/gdb.threads/thread_check.exp
gdb/testsuite/gdb.trace/collection.exp
gdb/testsuite/gdb.trace/mi-tracepoint-changed.exp
gdb/testsuite/gdb.tui/info-win.exp
gdb/testsuite/lib/dwarf.exp
gdb/testsuite/lib/prelink-support.exp
gdb/testsuite/lib/selftest-support.exp
gdb/tilegx-linux-nat.c
gdb/tracepoint.c
gdb/v850-tdep.c
gdb/valops.c
gdbserver/linux-aarch64-low.cc
gdbserver/linux-arc-low.cc
gdbserver/linux-arm-low.cc
gdbsupport/gdb_signals.h
gdbsupport/offset-type.h

index bcf1ee45a70f9d4b526a319cd7879559771e1c46..ecb323d8f02284bd437d5208cc060473ce356c58 100644 (file)
@@ -2528,7 +2528,7 @@ clean-po:
 # rule has no dependencies and always regenerates gdb.pot.  This is
 # relatively harmless since the .po files do not directly depend on
 # it.  The .pot file is left in the build directory.  Since GDB's
-# Makefile lacks a cannonical list of sources (missing xm, tm and nm
+# Makefile lacks a canonical list of sources (missing xm, tm and nm
 # files) force this rule.
 $(PACKAGE).pot: po/$(PACKAGE).pot
 po/$(PACKAGE).pot: force
index 3a0c8d1049fe5438b2eb37e0863c1f1c12f88800..42668cbc057e26a44215e59c84952d163ef6c65d 100644 (file)
--- a/gdb/NEWS
+++ b/gdb/NEWS
@@ -409,7 +409,7 @@ qIsAddressTagged
 
 * The printf command now accepts a '%V' output format which will
   format an expression just as the 'print' command would.  Print
-  options can be placed withing '[...]' after the '%V' to modify how
+  options can be placed within '[...]' after the '%V' to modify how
   the value is printed.  E.g:
     printf "%V", some_array
     printf "%V[-array-indexes on]", some_array
@@ -6686,7 +6686,7 @@ qSupported:
   target.
 
 qXfer:auxv:read:
-  Fetch an OS auxilliary vector from the remote stub.  This packet is a
+  Fetch an OS auxiliary vector from the remote stub.  This packet is a
   more efficient replacement for qPart:auxv:read.
 
 qXfer:memory-map:read:
@@ -7894,7 +7894,7 @@ with that.  The sub-program to run is specified using the syntax
 * MIPS 64 remote protocol
 
 A long standing bug in the mips64 remote protocol where by GDB
-expected certain 32 bit registers (ex SR) to be transfered as 32
+expected certain 32 bit registers (ex SR) to be transferred as 32
 instead of 64 bits has been fixed.
 
 The command ``set remote-mips64-transfers-32bit-regs on'' has been
@@ -8650,7 +8650,7 @@ MIPS remote debugging protocol.
 
 This version includes preliminary support for Chill, a Pascal like language
 used by telecommunications companies.  Chill support is also being integrated
-into the GNU compiler, but we don't know when it will be publically available.
+into the GNU compiler, but we don't know when it will be publicly available.
 
 
 *** Changes in GDB-4.8:
index d5ea581d6a3c1e69c678998af76a25a549983b48..d14a556540fed99bc204b7a8d7d6e4acd43b0277 100644 (file)
@@ -1488,7 +1488,7 @@ ada_decode (const char *encoded, bool wrap, bool operators, bool wide)
       if (i < len0 + 3
          && encoded[i] == 'N' && encoded[i+1] == '_' && encoded[i+2] == '_')
        {
-         /* Backtrack a bit up until we reach either the begining of
+         /* Backtrack a bit up until we reach either the beginning of
             the encoded name, or "__".  Make sure that we only find
             digits or lowercase characters.  */
          const char *ptr = encoded + i - 1;
@@ -5821,8 +5821,8 @@ is_name_suffix (const char *str)
   /* ??? We should not modify STR directly, as we are doing below.  This
      is fine in this case, but may become problematic later if we find
      that this alternative did not work, and want to try matching
-     another one from the begining of STR.  Since we modified it, we
-     won't be able to find the begining of the string anymore!  */
+     another one from the beginning of STR.  Since we modified it, we
+     won't be able to find the beginning of the string anymore!  */
   if (str[0] == 'X')
     {
       str += 1;
index 136e6dd3c2c1ae9d75c544621165ad15894e6aab..3fe0c2e6d08244aa12583aa9c1909b041b8bbd1b 100644 (file)
@@ -510,7 +510,7 @@ processReal (struct parser_state *par_state, const char *num0)
    encoded and the resulting name is equal to it.  Similarly, if the name
    starts with '<', it is copied verbatim.  Otherwise, it differs
    from NAME0 in that:
-    + Characters between '...' are transfered verbatim to yylval.ssym.
+    + Characters between '...' are transferred verbatim to yylval.ssym.
     + Trailing "'" characters in quoted sequences are removed (a leading quote is
       preserved to indicate that the name is not to be GNAT-encoded).
     + Unquoted whitespace is removed.
index 01ee2fb5686c8c19d82915a29861abb3091bebbf..d050b269815957749f27f11aeded272f12fe6855 100644 (file)
@@ -266,7 +266,7 @@ struct ada_tasks_inferior_data
      reference it - this number is printed beside each task in the tasks
      info listing displayed by "info tasks".  This number is equal to
      its index in the vector + 1.  Reciprocally, to compute the index
-     of a task in the vector, we need to substract 1 from its number.  */
+     of a task in the vector, we need to subtract 1 from its number.  */
   std::vector<ada_task_info> task_list;
 };
 
index 0423abb255842f03ad3d914f5d481299608c66fb..4554ac096984c7fdab4e3f2093f4e6a67e15792c 100644 (file)
@@ -99,7 +99,7 @@ struct alpha_gdbarch_tdep : gdbarch_tdep_base
   int sc_fpregs_offset = 0;
 
   int jb_pc = 0;                       /* Offset to PC value in jump buffer.
-                                  If htis is negative, longjmp support
+                                  If this is negative, longjmp support
                                   will be disabled.  */
   size_t jb_elt_size = 0;              /* And the size of each entry in the buf.  */
 };
index 01c591fd4ff09ea04f45b906196be01b22cf549a..69980f9ea39a490d9875f9e7d84bee82de018311 100644 (file)
@@ -428,7 +428,7 @@ arc_linux_software_single_step (struct regcache *regcache)
   CORE_ADDR next_pc = arc_insn_get_linear_next_pc (curr_insn);
   std::vector<CORE_ADDR> next_pcs;
 
-  /* For instructions with delay slots, the fall thru is not the
+  /* For instructions with delay slots, the fall through is not the
      instruction immediately after the current instruction, but the one
      after that.  */
   if (curr_insn.has_delay_slot)
index 4fc1ea1dc46463ac29aa06acd7c723514457b8ec..9adf2959cf31d1a5b9bac73baa5ac8f313533c61 100644 (file)
@@ -1438,7 +1438,7 @@ arc_analyze_prologue (struct gdbarch *gdbarch, const CORE_ADDR entrypoint,
    1) Store instruction for each callee-saved register (R25 - R13 + 1)
    2) Two instructions for FP
    3) One for BLINK
-   4) Three substract instructions for SP (for variadic args, for
+   4) Three subtract instructions for SP (for variadic args, for
    callee saved regs and for local vars) and assuming that those SUB use
    long-immediate (hence double length).
    5) Stores of arguments registers are considered part of prologue too
@@ -2117,7 +2117,7 @@ arc_check_tdesc_feature (struct tdesc_arch_data *tdesc_data,
   return true;
 }
 
-/* Check for the existance of "lp_start" and "lp_end" in target description.
+/* Check for the existence of "lp_start" and "lp_end" in target description.
    If both are present, assume there is hardware loop support in the target.
    This can be improved by looking into "lpc_size" field of "isa_config"
    auxiliary register.  */
index 6b235a057b0e4ea652307018b9b2bec6d63d238b..9c996b821be64727fd4480d510129c7cb47c60a9 100644 (file)
@@ -4857,7 +4857,7 @@ arm_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
       si = pop_stack_item (si);
     }
 
-  /* Finally, update teh SP register.  */
+  /* Finally, update the SP register.  */
   regcache_cooked_write_unsigned (regcache, ARM_SP_REGNUM, sp);
 
   return sp;
@@ -12139,7 +12139,7 @@ arm_record_ld_st_imm_offset (arm_insn_decode_record *arm_insn_r)
       record_buf[arm_insn_r->reg_rec_count++] = reg_dest;
 
       /* The LDR instruction is capable of doing branching.  If MOV LR, PC
-        preceeds a LDR instruction having R15 as reg_base, it
+        precedes a LDR instruction having R15 as reg_base, it
         emulates a branch and link instruction, and hence we need to save
         CPSR and PC as well.  */
       if (ARM_PC_REGNUM == reg_dest)
@@ -12263,7 +12263,7 @@ arm_record_ld_st_reg_offset (arm_insn_decode_record *arm_insn_r)
          if (15 == reg_src2)
            {
              /* If R15 was used as Rn, hence current PC+8.  */
-             /* Pre-indexed mode doesnt reach here ; illegal insn.  */
+             /* Pre-indexed mode doesn't reach here ; illegal insn.  */
                u_regval[0] = u_regval[0] + 8;
            }
          /* Calculate target store address, Rn +/- Rm, register offset.  */
@@ -12576,7 +12576,7 @@ arm_record_b_bl (arm_insn_decode_record *arm_insn_r)
 
   /* Handle B, BL, BLX(1) insns.  */
   /* B simply branches so we do nothing here.  */
-  /* Note: BLX(1) doesnt fall here but instead it falls into
+  /* Note: BLX(1) doesn't fall here but instead it falls into
      extension space.  */
   if (bit (arm_insn_r->arm_insn, 24))
     {
index 8bcd347632bfb2578fdc221e98ecae10d0339cc2..c831b2b9179f45634ffd473d407bb84993b2f6b1 100644 (file)
@@ -328,7 +328,7 @@ parse_auxv (target_ops *ops, gdbarch *gdbarch, const gdb_byte **readptr,
 
 /*  Auxiliary Vector information structure.  This is used by GDB
     for caching purposes for each inferior.  This helps reduce the
-    overhead of transfering data from a remote target to the local host.  */
+    overhead of transferring data from a remote target to the local host.  */
 struct auxv_info
 {
   std::optional<gdb::byte_vector> data;
index b80b3522dcb721a53c726e5a00e7d10054b4e78a..3abb596402c9ea4f42992ccfaa7caa81a01a8ffc 100644 (file)
@@ -11077,7 +11077,7 @@ clear_command (const char *arg, int from_tty)
        }
     }
 
-  /* Now go thru the 'found' chain and delete them.  */
+  /* Now go through the 'found' chain and delete them.  */
   if (found.empty ())
     {
       if (arg)
index 7b645de571af60bf9f5070892a3473511fa6641c..abe150de6093ff45ad27184e240360fb406be403 100644 (file)
@@ -122,7 +122,7 @@ static unsigned local_auxesz;
 static int pe_file;
 
 /* Chain of typedefs of pointers to empty struct/union types.
-   They are chained thru the SYMBOL_VALUE_CHAIN.  */
+   They are chained through the SYMBOL_VALUE_CHAIN.  */
 
 static struct symbol *opaque_type_chain[HASHSIZE];
 
@@ -1737,7 +1737,7 @@ process_coff_symbol (struct coff_symbol *cs,
                     This is not just a consequence of GDB's type
                     management; CC and GCC (at least through version
                     2.4) both output variables of either type char *
-                    or caddr_t with the type refering to the C_TPDEF
+                    or caddr_t with the type referring to the C_TPDEF
                     symbol for caddr_t.  If a future compiler cleans
                     this up it GDB is not ready for it yet, but if it
                     becomes ready we somehow need to disable this
index d690d2934364e28c57ce76e6d19cdaea889c0c37..5ed7d61a1ac2e720993e6b1ec10bfdc9f47a1a73 100755 (executable)
@@ -243,7 +243,7 @@ END {
        if (seen[file] && (skipped[bug_n_file] < skip[bug_n_file])) {
            # ari.*.bug: <FILE>:<LINE>: <CATEGORY>: <BUG>: <DOC>
            b = file " missing " bug
-           print_bug(file, 0, "", "internal", file " missing " bug, "Expecting " skip[bug_n_file] " occurances of bug " bug " in file " file ", only found " skipped[bug_n_file])
+           print_bug(file, 0, "", "internal", file " missing " bug, "Expecting " skip[bug_n_file] " occurrences of bug " bug " in file " file ", only found " skipped[bug_n_file])
        }
     }
 }
index 769b930416524d8ce2e3acc800ffc1e2a9d9f5c2..8562def71a64194bd6b1ecf4e6000f2f62539a32 100644 (file)
@@ -3339,7 +3339,7 @@ get_data_from_address (unsigned short *inst, CORE_ADDR address,
   return value;
 }
 
-/* Handles the assign addresing mode for the ADD, SUB, CMP, AND, OR and MOVE 
+/* Handles the assign addressing mode for the ADD, SUB, CMP, AND, OR and MOVE
    instructions.  The MOVE instruction is the move from source to register.  */
 
 static void 
@@ -3398,7 +3398,7 @@ three_operand_add_sub_cmp_and_or_op (unsigned short inst,
   inst_env->disable_interrupt = 0;
 }
 
-/* Handles the index addresing mode for the ADD, SUB, CMP, AND, OR and MOVE
+/* Handles the index addressing mode for the ADD, SUB, CMP, AND, OR and MOVE
    instructions.  The MOVE instruction is the move from source to register.  */
 
 static void 
@@ -3425,7 +3425,7 @@ handle_prefix_index_mode_for_aritm_op (unsigned short inst,
   inst_env->disable_interrupt = 0;
 }
 
-/* Handles the autoincrement and indirect addresing mode for the ADD, SUB,
+/* Handles the autoincrement and indirect addressing mode for the ADD, SUB,
    CMP, AND OR and MOVE instruction.  The MOVE instruction is the move from
    source to register.  */
 
index 6f602f4a18b7bbc03edc2a5934333e4f188531e9..e09afb33ba099d953d154acee57bf57466be0c49 100644 (file)
@@ -113,7 +113,7 @@ struct dict_iterator
 
 struct mdict_iterator
 {
-  /* The multidictionary with whcih this iterator is associated.  */
+  /* The multidictionary with which this iterator is associated.  */
   const struct multidictionary *mdict;
 
   /* The iterator used to iterate through individual dictionaries.  */
index cc1b69c6978a655eee16912fe4ff8bedff223201..65a88c8ce10aae6f21d26cc7787ce8301e555c93 100644 (file)
@@ -4289,7 +4289,7 @@ includes changes in memory, registers, and even (within some limits)
 system state.  Effectively, it is like going back in time to the
 moment when the checkpoint was saved.
 
-Thus, if you're stepping thru a program and you think you're 
+Thus, if you're stepping through a program and you think you're
 getting close to the point where things go wrong, you can save
 a checkpoint.  Then, if you accidentally go too far and miss
 the critical statement, instead of having to restart your program
@@ -7659,7 +7659,7 @@ the called function, stopping at the beginning of the @emph{last}
 statement in the called function (typically a return statement).
 
 Also, as with the @code{step} command, if non-debuggable functions are
-called, @code{reverse-step} will run thru them backward without stopping.
+called, @code{reverse-step} will run through them backward without stopping.
 
 @kindex reverse-stepi
 @kindex rsi @r{(@code{reverse-stepi})}
index 79ef065bfcbe007fe40919d744fd664b7a41dd9c..841d2d4a2fec90e6ffea0792606e588288859eb1 100644 (file)
@@ -911,7 +911,7 @@ dwarf2_frame_cache (const frame_info_ptr &this_frame, void **this_cache)
      its return address.  As a result the return address will
      point at some random instruction, and the CFI for that
      instruction is probably worthless to us.  GCC's unwinder solves
-     this problem by substracting 1 from the return address to get an
+     this problem by subtracting 1 from the return address to get an
      address in the middle of a presumed call instruction (or the
      instruction in the associated delay slot).  This should only be
      done for "normal" frames and not for resume-type frames (signal
@@ -1073,7 +1073,7 @@ incomplete CFI data; unspecified registers (e.g., %s) at %s"),
            ULONGEST retaddr_column = fs.retaddr_column;
 
            /* It seems rather bizarre to specify an "empty" column as
-              the return adress column.  However, this is exactly
+              the return address column.  However, this is exactly
               what GCC does on some targets.  It turns out that GCC
               assumes that the return address can be found in the
               register corresponding to the return address column.
index 5d1a557cb987c788df39c9dd081c4928132f1585..d5153862a01dfdae5c3e125bf52ff91a10c25fde 100644 (file)
@@ -779,7 +779,7 @@ func_addr_to_tail_call_list (struct gdbarch *gdbarch, CORE_ADDR addr)
    via its tail calls (incl. transitively).  Throw NO_ENTRY_VALUE_ERROR if it
    can call itself via tail calls.
 
-   If a funtion can tail call itself its entry value based parameters are
+   If a function can tail call itself its entry value based parameters are
    unreliable.  There is no verification whether the value of some/all
    parameters is unchanged through the self tail call, we expect if there is
    a self tail call all the parameters can be modified.  */
index 749e39df1756bf03a468f5a24489e8ba14afec42..bf9eeef3820bc582f97e32adc2b7ef2f817e8c47 100644 (file)
@@ -17882,7 +17882,7 @@ die_is_declaration (struct die_info *die, struct dwarf2_cu *cu)
      which value is non-zero.  However, we have to be careful with
      DIEs having a DW_AT_specification attribute, because dwarf2_attr()
      (via dwarf2_flag_true_p) follows this attribute.  So we may
-     end up accidently finding a declaration attribute that belongs
+     end up accidentally finding a declaration attribute that belongs
      to a different DIE referenced by the specification attribute,
      even though the given DIE does not have a declaration attribute.  */
   return (dwarf2_flag_true_p (die, DW_AT_declaration, cu)
index 3929282da769576dad29709eccbd460af1619b48..457a4362289dac383be28d352b3a714587344029 100644 (file)
@@ -2105,7 +2105,7 @@ eval_op_objc_msgcall (struct type *expect_type, struct expression *exp,
 
   /* Found a function symbol.  Now we will substitute its
      value in place of the message dispatcher (obj_msgSend),
-     so that we call the method directly instead of thru
+     so that we call the method directly instead of through
      the dispatcher.  The main reason for doing this is that
      we can now evaluate the return value and parameter values
      according to their known data types, in case we need to
index c488fc774941e09d3edbc7b00bf627a8998798bf..897bf25dad4aeb89ad730af1467c119f7f3fedf1 100644 (file)
@@ -680,7 +680,7 @@ static bool quit_flag;
 
 /* The current extension language we've called out to, or
    extension_language_gdb if there isn't one.
-   This must be set everytime we call out to an extension language, and reset
+   This must be set every time we call out to an extension language, and reset
    to the previous value when it returns.  Note that the previous value may
    be a different (or the same) extension language.  */
 static const struct extension_language_defn *active_ext_lang
index 1cf5f486bd806a6f5d26109569e07b7ffc1721be..323f15ddaa297c23c36230068b4a9d7648128e69 100644 (file)
@@ -631,7 +631,7 @@ address_space_name_to_type_instance_flags (struct gdbarch *gdbarch,
 }
 
 /* Identify address space identifier by type_instance_flags and return
-   the string version of the adress space name.  */
+   the string version of the address space name.  */
 
 const char *
 address_space_type_instance_flags_to_name (struct gdbarch *gdbarch,
@@ -733,7 +733,7 @@ make_type_with_address_space (struct type *type,
    If TYPEPTR and *TYPEPTR are non-zero, then *TYPEPTR points to
    storage to hold the new qualified type; *TYPEPTR and TYPE must be
    in the same objfile.  Otherwise, allocate fresh memory for the new
-   type whereever TYPE lives.  If TYPEPTR is non-zero, set it to the
+   type wherever TYPE lives.  If TYPEPTR is non-zero, set it to the
    new type we construct.  */
 
 struct type *
@@ -1371,7 +1371,7 @@ create_array_type_with_stride (type_allocator &alloc,
         undefined by setting it to zero.  Although we are not expected
         to trust TYPE_LENGTH in this case, setting the size to zero
         allows us to avoid allocating objects of random sizes in case
-        we accidently do.  */
+        we accidentally do.  */
       result_type->set_length (0);
     }
 
@@ -1553,7 +1553,7 @@ set_type_self_type (struct type *type, struct type *self_type)
 }
 
 /* Smash TYPE to be a type of pointers to members of SELF_TYPE with type
-   TO_TYPE.  A member pointer is a wierd thing -- it amounts to a
+   TO_TYPE.  A member pointer is a weird thing -- it amounts to a
    typed offset into a struct, e.g. "an int at offset 8".  A MEMBER
    TYPE doesn't include the offset (that's the value of the MEMBER
    itself), but does include the structure type into which it points
index 0e360b14199c3d0926fb76f20981db13afd4ba6e..41c1113257c43b0efa751a44deed42b48f856ed5 100644 (file)
@@ -259,7 +259,7 @@ fill_fpregset (const struct regcache *regcache,
 #ifdef HAVE_PTRACE_GETREGS
 
 /* Fetch all floating-point registers from process/thread TID and store
-   thier values in GDB's register array.  */
+   their values in GDB's register array.  */
 
 static void
 fetch_fpregs (struct regcache *regcache, int tid)
index ba047fc6da74082243ffe212e20687407bbdce73..d2c3efbc5af54c01a9513f8b705e9fe6218334e5 100644 (file)
@@ -8285,7 +8285,7 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
 
   tdep->st0_regnum = I386_ST0_REGNUM;
 
-  /* I386_NUM_XREGS includes %mxcsr, so substract one.  */
+  /* I386_NUM_XREGS includes %mxcsr, so subtract one.  */
   tdep->num_xmm_regs = I386_NUM_XREGS - 1;
 
   tdep->jb_pc_offset = -1;
index 64be38b4d7669382379b80705b876fccdaed1352..3d5b56e41fe9096b0a7652d74e99f84674289825 100644 (file)
 /* Predicate registers: There are 64 of these 1-bit registers.  We
    define a single register which is used to communicate these values
    to/from the target.  We will somehow contrive to make it appear
-   that IA64_PR0_REGNUM thru IA64_PR63_REGNUM hold the actual values.  */
+   that IA64_PR0_REGNUM through IA64_PR63_REGNUM hold the actual values.  */
 #define IA64_PR_REGNUM         330
 
 /* Instruction pointer: 64 bits wide.  */
index acb80af9bff199f4454027c9ec22051aed9b8b25..36d6e2aa697166164457b8570013f57a4bc9798b 100644 (file)
@@ -475,7 +475,7 @@ inf_ptrace_target::xfer_partial (enum target_object object,
     case TARGET_OBJECT_AUXV:
 #if defined (PT_IO) && defined (PIOD_READ_AUXV)
       /* OpenBSD 4.5 has a new PIOD_READ_AUXV operation for the PT_IO
-        request that allows us to read the auxilliary vector.  Other
+        request that allows us to read the auxiliary vector.  Other
         BSD's may follow if they feel the need to support PIE.  */
       {
        struct ptrace_io_desc piod;
index fe880b3fb6f49ca61ac2f2bf80e6106aa08ce2ea..284996106a9734b3d08bcb580ce75a5abbaeec33 100644 (file)
@@ -213,7 +213,7 @@ get_linux_gdbarch_data (struct gdbarch *gdbarch)
 
 /* Linux-specific cached data.  This is used by GDB for caching
    purposes for each inferior.  This helps reduce the overhead of
-   transfering data from a remote target to the local host.  */
+   transferring data from a remote target to the local host.  */
 struct linux_info
 {
   /* Cache of the inferior's vsyscall/vDSO mapping range.  Only valid
index 7f3373986769e78e8ce2d974a7c20b1e53e840bc..49cd49193bbc70bd6e7ae484bba8ce2800549d1e 100644 (file)
@@ -350,7 +350,7 @@ fill_fpregset (const struct regcache *regcache,
 #ifdef HAVE_PTRACE_GETREGS
 
 /* Fetch all floating-point registers from process/thread TID and store
-   thier values in GDB's register array.  */
+   their values in GDB's register array.  */
 
 static void
 fetch_fpregs (struct regcache *regcache, int tid)
index dc556d6b84af90afcb9c4bf62dd4634fc7e02b92..0d63b9c8d9e23f346106dea6baafbcc4e71a2390 100644 (file)
@@ -1319,7 +1319,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend,
                 consequence of GDB's type management; CC and GCC (at
                 least through version 2.4) both output variables of
                 either type char * or caddr_t with the type
-                refering to the stTypedef symbol for caddr_t.  If a future
+                referring to the stTypedef symbol for caddr_t.  If a future
                 compiler cleans this up it GDB is not ready for it
                 yet, but if it becomes ready we somehow need to
                 disable this check (without breaking the PCC/GCC2.4
@@ -2522,14 +2522,14 @@ parse_partial_symbols (minimal_symbol_reader &reader,
 
          /* On certain platforms, some extra label symbols can be
             generated by the linker.  One possible usage for this kind
-            of symbols is to represent the address of the begining of a
+            of symbols is to represent the address of the beginning of a
             given section.  For instance, on Tru64 5.1, the address of
             the _ftext label is the start address of the .text section.
 
             The storage class of these symbols is usually directly
             related to the section to which the symbol refers.  For
             instance, on Tru64 5.1, the storage class for the _fdata
-            label is scData, refering to the .data section.
+            label is scData, referring to the .data section.
 
             It is actually possible that the section associated to the
             storage class of the label does not exist.  On True64 5.1
index 735068e5a468e82965b81179784b4b36802f82e4..c92792e512fa4c91d2dd7b1e502cff0cc4264f63 100644 (file)
@@ -134,7 +134,7 @@ create_user_mem_region (CORE_ADDR lo, CORE_ADDR hi,
   int ix = std::distance (user_mem_region_list.begin (), it);
 
   /* Check for an overlapping memory region.  We only need to check
-     in the vincinity - at most one before and one after the
+     in the vicinity - at most one before and one after the
      insertion point.  */
   for (int i = ix - 1; i < ix + 1; i++)
     {
index 3d768d7e1618fa4d470abfb66ad1bf2703c129be..609c665f2af1cfd8d1bd69f8d5c8d8627336ef9b 100644 (file)
@@ -160,7 +160,7 @@ microblaze_alloc_frame_cache (void)
 /* The base of the current frame is in a frame pointer register.
    This register is noted in frame_extra_info->fp_regnum.
 
-   Note that the existance of an FP might also indicate that the
+   Note that the existence of an FP might also indicate that the
    function has called alloca.  */
 #define MICROBLAZE_MY_FRAME_IN_FP 0x2
 
index 006bc9270cadd1cc38bec7d9fc4d2e245004739a..c00efbd02ad087da314a0f47c512d5c018382060 100644 (file)
@@ -558,7 +558,7 @@ mips_xfer_register (struct gdbarch *gdbarch, struct regcache *regcache,
 }
 
 /* Determine if a MIPS3 or later cpu is operating in MIPS{1,2} FPU
-   compatiblity mode.  A return value of 1 means that we have
+   compatibility mode.  A return value of 1 means that we have
    physical 64-bit registers, but should treat them as 32-bit registers.  */
 
 static int
@@ -574,7 +574,7 @@ mips2_fp_compat (const frame_info_ptr &frame)
   /* FIXME drow 2002-03-10: This is disabled until we can do it consistently,
      in all the places we deal with FP registers.  PR gdb/413.  */
   /* Otherwise check the FR bit in the status register - it controls
-     the FP compatiblity mode.  If it is clear we are in compatibility
+     the FP compatibility mode.  If it is clear we are in compatibility
      mode.  */
   if ((get_frame_register_unsigned (frame, MIPS_PS_REGNUM) & ST0_FR) == 0)
     return 1;
@@ -592,7 +592,7 @@ static CORE_ADDR heuristic_proc_start (struct gdbarch *, CORE_ADDR);
 static struct cmd_list_element *setmipscmdlist = NULL;
 static struct cmd_list_element *showmipscmdlist = NULL;
 
-/* Integer registers 0 thru 31 are handled explicitly by
+/* Integer registers 0 through 31 are handled explicitly by
    mips_register_name().  Processor specific registers 32 and above
    are listed in the following tables.  */
 
@@ -920,7 +920,7 @@ mips_convert_register_float_case_p (struct gdbarch *gdbarch, int regnum,
 }
 
 /* This predicate tests for the case of a value of less than 8
-   bytes in width that is being transfered to or from an 8 byte
+   bytes in width that is being transferred to or from an 8 byte
    general purpose register.  */
 static int
 mips_convert_register_gpreg_case_p (struct gdbarch *gdbarch, int regnum,
@@ -1076,7 +1076,7 @@ mips_register_type (struct gdbarch *gdbarch, int regnum)
        return builtin_type (gdbarch)->builtin_int32;
       else if (tdep->mips64_transfers_32bit_regs_p)
        /* The target, while possibly using a 64-bit register buffer,
-          is only transfering 32-bits of each integer register.
+          is only transferring 32-bits of each integer register.
           Reflect this in the cooked/pseudo (ABI) register value.  */
        return builtin_type (gdbarch)->builtin_int32;
       else if (mips_abi_regsize (gdbarch) == 4)
@@ -2877,7 +2877,7 @@ mips_insn16_frame_cache (const frame_info_ptr &this_frame, void **this_cache)
     find_pc_partial_function (pc, NULL, &start_addr, NULL);
     if (start_addr == 0)
       start_addr = heuristic_proc_start (gdbarch, pc);
-    /* We can't analyze the prologue if we couldn't find the begining
+    /* We can't analyze the prologue if we couldn't find the beginning
        of the function.  */
     if (start_addr == 0)
       return cache;
@@ -3312,7 +3312,7 @@ mips_micro_frame_cache (const frame_info_ptr &this_frame, void **this_cache)
     find_pc_partial_function (pc, NULL, &start_addr, NULL);
     if (start_addr == 0)
       start_addr = heuristic_proc_start (get_frame_arch (this_frame), pc);
-    /* We can't analyze the prologue if we couldn't find the begining
+    /* We can't analyze the prologue if we couldn't find the beginning
        of the function.  */
     if (start_addr == 0)
       return cache;
@@ -3693,7 +3693,7 @@ mips_insn32_frame_cache (const frame_info_ptr &this_frame, void **this_cache)
     find_pc_partial_function (pc, NULL, &start_addr, NULL);
     if (start_addr == 0)
       start_addr = heuristic_proc_start (gdbarch, pc);
-    /* We can't analyze the prologue if we couldn't find the begining
+    /* We can't analyze the prologue if we couldn't find the beginning
        of the function.  */
     if (start_addr == 0)
       return cache;
@@ -4581,7 +4581,7 @@ mips_eabi_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
     }
 
   /* Now load as many as possible of the first arguments into
-     registers, and push the rest onto the stack.  Loop thru args
+     registers, and push the rest onto the stack.  Loop through args
      from first to last.  */
   for (argnum = 0; argnum < nargs; argnum++)
     {
@@ -4754,7 +4754,7 @@ mips_eabi_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
                }
 
              /* Note!!! This is NOT an else clause.  Odd sized
-                structs may go thru BOTH paths.  Floating point
+                structs may go through BOTH paths.  Floating point
                 arguments will not.  */
              /* Write this portion of the argument to a general
                 purpose register.  */
@@ -4975,7 +4975,7 @@ mips_n32n64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
     }
 
   /* Now load as many as possible of the first arguments into
-     registers, and push the rest onto the stack.  Loop thru args
+     registers, and push the rest onto the stack.  Loop through args
      from first to last.  */
   for (argnum = 0; argnum < nargs; argnum++)
     {
@@ -5106,7 +5106,7 @@ mips_n32n64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
                }
 
              /* Note!!! This is NOT an else clause.  Odd sized
-                structs may go thru BOTH paths.  */
+                structs may go through BOTH paths.  */
              /* Write this portion of the argument to a general
                 purpose register.  */
              if (argreg <= mips_last_arg_regnum (gdbarch))
@@ -5455,7 +5455,7 @@ mips_o32_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
     }
 
   /* Now load as many as possible of the first arguments into
-     registers, and push the rest onto the stack.  Loop thru args
+     registers, and push the rest onto the stack.  Loop through args
      from first to last.  */
   for (argnum = 0; argnum < nargs; argnum++)
     {
@@ -5618,7 +5618,7 @@ mips_o32_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
                }
 
              /* Note!!! This is NOT an else clause.  Odd sized
-                structs may go thru BOTH paths.  */
+                structs may go through BOTH paths.  */
              /* Write this portion of the argument to a general
                 purpose register.  */
              if (argreg <= mips_last_arg_regnum (gdbarch))
@@ -5976,7 +5976,7 @@ mips_o64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
     }
 
   /* Now load as many as possible of the first arguments into
-     registers, and push the rest onto the stack.  Loop thru args
+     registers, and push the rest onto the stack.  Loop through args
      from first to last.  */
   for (argnum = 0; argnum < nargs; argnum++)
     {
@@ -6080,7 +6080,7 @@ mips_o64_push_dummy_call (struct gdbarch *gdbarch, struct value *function,
                }
 
              /* Note!!! This is NOT an else clause.  Odd sized
-                structs may go thru BOTH paths.  */
+                structs may go through BOTH paths.  */
              /* Write this portion of the argument to a general
                 purpose register.  */
              if (argreg <= mips_last_arg_regnum (gdbarch))
index cf789791c6d1bd08af3513c53da531c1b01abf55..fa2befd1a358f9c57f59a7261ca8dfe59206a56e 100644 (file)
@@ -552,7 +552,7 @@ compare_selectors (const void *a, const void *b)
  *
  * Implements the "Info selectors" command.  Takes an optional regexp
  * arg.  Lists all objective c selectors that match the regexp.  Works
- * by grepping thru all symbols for objective c methods.  Output list
+ * by grepping through all symbols for objective c methods.  Output list
  * is sorted and uniqued. 
  */
 
@@ -601,7 +601,7 @@ info_selectors_command (const char *regexp, int from_tty)
        error (_("Invalid regexp (%s): %s"), val, regexp);
     }
 
-  /* First time thru is JUST to get max length and count.  */
+  /* First time through is JUST to get max length and count.  */
   for (objfile *objfile : current_program_space->objfiles ())
     {
       for (minimal_symbol *msymbol : objfile->msymbols ())
@@ -716,7 +716,7 @@ compare_classes (const void *a, const void *b)
  *
  * Implements the "info classes" command for objective c classes.
  * Lists all objective c classes that match the optional regexp.
- * Works by grepping thru the list of objective c methods.  List will
+ * Works by grepping through the list of objective c methods.  List will
  * be sorted and uniqued (since one class may have many methods).
  * BUGS: will not list a class that has no methods. 
  */
@@ -755,7 +755,7 @@ info_classes_command (const char *regexp, int from_tty)
        error (_("Invalid regexp (%s): %s"), val, regexp);
     }
 
-  /* First time thru is JUST to get max length and count.  */
+  /* First time through is JUST to get max length and count.  */
   for (objfile *objfile : current_program_space->objfiles ())
     {
       for (minimal_symbol *msymbol : objfile->msymbols ())
index 3116fc1e2d21bfa74550c658ee7fef7aee324edb..8a5eea765c2885e3d9b0a7d8bc759f39d0fe4862 100644 (file)
@@ -133,7 +133,7 @@ static solib_ops powerpc_so_ops;
            (gdb) b main
            Breakpoint 2 at 0x100006a0: file gdb.base/shmain.c, line 44.
 
-       Examine the instruction (and the immediatly following instruction)
+       Examine the instruction (and the immediately following instruction)
        upon which the breakpoint was placed.  Note that the PLT entry
        for shr1 contains zeros.
 
index a9a26c6b94cc4c728ee35c63823800a667e3d333..c6abe3ead44531f0ca30ef222738701f9c695c37 100644 (file)
@@ -205,7 +205,7 @@ procfs_target::auxv_parse (const gdb_byte **readptr,
    concerning a /proc process.  There should be exactly one procinfo
    for each process, and since GDB currently can debug only one
    process at a time, that means there should be only one procinfo.
-   All of the LWP's of a process can be accessed indirectly thru the
+   All of the LWP's of a process can be accessed indirectly through the
    single process procinfo.
 
    However, against the day when GDB may debug more than one process,
index 72d311b117f20dd995a2c5181eccacd66ad9abdd..7d0e781ef216e0db73083b6630a3abf2ae5e6e06 100644 (file)
@@ -147,7 +147,7 @@ class maint_info_py_disassemblers_cmd(gdb.Command):
         # Figure out the name of the current architecture.  There
         # should always be a current inferior, but if, somehow, there
         # isn't, then leave curr_arch as the empty string, which will
-        # not then match agaisnt any architecture in the dictionary.
+        # not then match against any architecture in the dictionary.
         curr_arch = ""
         if gdb.selected_inferior() is not None:
             curr_arch = gdb.selected_inferior().architecture().name()
index 4ec25ee23428364891eb05a899b8142848e0760e..53234915dea3387b51762bb08b5576db29f6ddf6 100644 (file)
@@ -685,7 +685,7 @@ public: /* data */
 
   /* FIXME: cagney/1999-09-23: Even though getpkt was called with
      ``forever'' still use the normal timeout mechanism.  This is
-     currently used by the ASYNC code to guarentee that target reads
+     currently used by the ASYNC code to guarantee that target reads
      during the initial connect always time-out.  Once getpkt has been
      modified to return a timeout indication and, in turn
      remote_wait()/wait_for_inferior() have gained a timeout parameter
@@ -3932,7 +3932,7 @@ remote_target::remote_get_threadlist (int startflag, threadref *nextthread,
       /* FIXME: This is a good reason to drop the packet.  */
       /* Possibly, there is a duplicate response.  */
       /* Possibilities :
-        retransmit immediatly - race conditions
+        retransmit immediately - race conditions
         retransmit after timeout - yes
         exit
         wait for packet, then exit
@@ -6292,7 +6292,7 @@ remote_target::open_1 (const char *name, int from_tty, int extended_p)
 
   /* Start the remote connection.  If error() or QUIT, discard this
      target (we'd otherwise be in an inconsistent state) and then
-     propogate the error on up the exception chain.  This ensures that
+     propagate the error on up the exception chain.  This ensures that
      the caller doesn't stumble along blindly assuming that the
      function succeeded.  The CLI doesn't have this problem but other
      UI's, such as MI do.
@@ -15327,7 +15327,7 @@ static serial_event_ftype remote_async_serial_handler;
 static void
 remote_async_serial_handler (struct serial *scb, void *context)
 {
-  /* Don't propogate error information up to the client.  Instead let
+  /* Don't propagate error information up to the client.  Instead let
      the client find out about the error by querying the target.  */
   inferior_event_handler (INF_REG_EVENT);
 }
index ed6a21b71464a3a619c01c056966efa5ebdf7029..d7f9698ec427cc1c79b6454d1364c4637fcd0210 100644 (file)
@@ -1389,7 +1389,7 @@ rs6000_fetch_instruction (struct gdbarch *gdbarch, const CORE_ADDR pc)
   return op;
 }
 
-/* GCC generates several well-known sequences of instructions at the begining
+/* GCC generates several well-known sequences of instructions at the beginning
    of each function prologue when compiling with -fstack-check.  If one of
    such sequences starts at START_PC, then return the address of the
    instruction immediately past this sequence.  Otherwise, return START_PC.  */
@@ -4298,7 +4298,7 @@ ppc_record_ACC_fpscr (struct regcache *regcache, ppc_gdbarch_tdep *tdep,
         ACC[7][3] -> VSR[31]
 
      NOTE:
-     In ISA 3.1 the ACC is mapped on top of VSR[0] thru VSR[31].
+     In ISA 3.1 the ACC is mapped on top of VSR[0] through VSR[31].
 
      In the future, the ACC may be implemented as an independent register file
      rather than mapping on top of the VSRs.  This will then require the ACC to
index 9ae5961e9acd7687bce4c90f220f37806cbeb2ae..866d1ac1f6d7d1524ce0d849d7177acaa8777b43 100644 (file)
@@ -45,7 +45,7 @@ extern const char *rust_last_path_segment (const char *path);
 
 /* Create a new slice type.  NAME is the name of the type.  ELT_TYPE
    is the type of the elements of the slice.  USIZE_TYPE is the Rust
-   "usize" type to use.  The new type is allocated whereever ELT_TYPE
+   "usize" type to use.  The new type is allocated wherever ELT_TYPE
    is allocated.  */
 extern struct type *rust_slice_type (const char *name, struct type *elt_type,
                                     struct type *usize_type);
index 6687127d0aa4ec87947a4b745ae6a2d02fd2db82..064cf685c4d9e169901d9a0ed091328068ca9acc 100644 (file)
@@ -1897,7 +1897,7 @@ s390_handle_arg (struct s390_arg_state *as, struct value *arg,
    for S/390 ELF Application Binary Interface Supplement".
 
    SP is the current stack pointer.  We must put arguments, links,
-   padding, etc. whereever they belong, and return the new stack
+   padding, etc. wherever they belong, and return the new stack
    pointer value.
 
    If STRUCT_RETURN is non-zero, then the function we're calling is
index 81ef942c55f5efc078aa8fd8f6a73225d3043ac8..838560e968d61d89db39661ad2d7985cb8e34553 100644 (file)
@@ -148,7 +148,7 @@ run_async_handler_and_reschedule (struct serial *scb)
 /* FD_EVENT: This is scheduled when the input FIFO is empty (and there
    is no pending error).  As soon as data arrives, it is read into the
    input FIFO and the client notified.  The client should then drain
-   the FIFO using readchar().  If the FIFO isn't immediatly emptied,
+   the FIFO using readchar().  If the FIFO isn't immediately emptied,
    push_event() is used to nag the client until it is.  */
 
 static void
@@ -419,7 +419,7 @@ do_ser_base_readchar (struct serial *scb, int timeout)
    pre-reads the input into that FIFO.  Once that has been emptied,
    further data is obtained by polling the input FD using the device
    specific readchar() function.  Note: reschedule() is called after
-   every read.  This is because there is no guarentee that the lower
+   every read.  This is because there is no guarantee that the lower
    level fd_event() poll_event() code (which also calls reschedule())
    will be called.  */
 
index 050f7bffa0c5472c839c0e427ccf17500c086bbf..d211265c15f0cc304a6afa0fd9424dd985711e07 100644 (file)
@@ -1057,7 +1057,7 @@ sh_push_dummy_call_fpu (struct gdbarch *gdbarch,
 
   /* Now load as many as possible of the first arguments into
      registers, and push the rest onto the stack.  There are 16 bytes
-     in four registers available.  Loop thru args from first to last.  */
+     in four registers available.  Loop through args from first to last.  */
   for (argnum = 0; argnum < nargs; argnum++)
     {
       type = args[argnum]->type ();
@@ -1195,7 +1195,7 @@ sh_push_dummy_call_nofpu (struct gdbarch *gdbarch,
 
   /* Now load as many as possible of the first arguments into
      registers, and push the rest onto the stack.  There are 16 bytes
-     in four registers available.  Loop thru args from first to last.  */
+     in four registers available.  Loop through args from first to last.  */
   for (argnum = 0; argnum < nargs; argnum++)
     {
       type = args[argnum]->type ();
index 928d6547a32fe7f72e7ae1f611b88a4879edc490..7999a8e6c7ed7303a7b516570d814a501a4c6b2e 100644 (file)
@@ -619,7 +619,7 @@ find_program_interpreter (void)
 
 
 /* Scan for DESIRED_DYNTAG in .dynamic section of the target's main executable,
-   found by consulting the OS auxillary vector.  If DESIRED_DYNTAG is found, 1
+   found by consulting the OS auxiliary vector.  If DESIRED_DYNTAG is found, 1
    is returned and the corresponding PTR is set.  */
 
 static int
@@ -2355,7 +2355,7 @@ enable_break (struct svr4_info *info, int from_tty)
        }
 
       /* If we were not able to find the base address of the loader
-        from our so_list, then try using the AT_BASE auxilliary entry.  */
+        from our so_list, then try using the AT_BASE auxiliary entry.  */
       if (!load_addr_found)
        if (target_auxv_search (AT_BASE, &load_addr) > 0)
          {
@@ -2616,8 +2616,8 @@ svr4_exec_displacement (CORE_ADDR *displacementp)
        return 0;
     }
 
-  /* Verify that the auxilliary vector describes the same file as exec_bfd, by
-     comparing their program headers.  If the program headers in the auxilliary
+  /* Verify that the auxiliary vector describes the same file as exec_bfd, by
+     comparing their program headers.  If the program headers in the auxiliary
      vector do not match the program headers in the executable, then we are
      looking at a different file than the one used by the kernel - for
      instance, "gdb program" connected to "gdbserver :PORT ld.so program".  */
index edbc03878dc240c81d2175eeb405c0474c2234c2..e97a7d929db9e5e4eef6d35421735d63e06bd9b3 100644 (file)
@@ -769,7 +769,7 @@ sparc_alloc_frame_cache (void)
   return cache;
 }
 
-/* GCC generates several well-known sequences of instructions at the begining
+/* GCC generates several well-known sequences of instructions at the beginning
    of each function prologue when compiling with -fstack-check.  If one of
    such sequences starts at START_PC, then return the address of the
    instruction immediately past this sequence.  Otherwise, return START_PC.  */
index 25a7c87b7c8b833375567818072e3d658e38860c..e4798203fbbe4884a2067e01852393b0bd333633 100644 (file)
@@ -4774,7 +4774,7 @@ read_member_functions (struct stab_field_info *fip, const char **pp,
 
       if ((*pp)[0] == 'o' && (*pp)[1] == 'p' && is_cplus_marker ((*pp)[2]))
        {
-         /* This is a completely wierd case.  In order to stuff in the
+         /* This is a completely weird case.  In order to stuff in the
             names that might contain colons (the usual name delimiter),
             Mike Tiemann defined a different name format which is
             signalled if the identifier is "op$".  In that case, the
index 418c4fb4e2912742f26cbb0ca7f14fe4d9d5653c..565038ae4acafbad42b05931ad97bd3c87f5a7f6 100644 (file)
@@ -54,7 +54,7 @@ extern unsigned char processing_gcc_compilation;
 extern int within_function;
 
 /* Hash table of global symbols whose values are not known yet.
-   They are chained thru the SYMBOL_VALUE_CHAIN, since we don't
+   They are chained through the SYMBOL_VALUE_CHAIN, since we don't
    have the correct data for that slot yet.
 
    The use of the LOC_BLOCK code in this chain is nonstandard--
index e7578d80938974404b6ad4cc099ad7d49fd43520..f04291e9afebff5a842079f1544405033cd8e32d 100644 (file)
@@ -210,7 +210,7 @@ union ia64_ireg
 /* Predicate registers: There are 64 of these 1-bit registers.  We
    define a single register which is used to communicate these values
    to/from the target.  We will somehow contrive to make it appear
-   that IA64_PR0_REGNUM thru IA64_PR63_REGNUM hold the actual values.  */
+   that IA64_PR0_REGNUM through IA64_PR63_REGNUM hold the actual values.  */
 #define IA64_PR_REGNUM         330
 
 /* Instruction pointer: 64 bits wide.  */
index 8ac71f14c829c7cb2906d76e189d0e53690676aa..16be231e2f4ea8e018e72696c6f7f689675d6fb9 100644 (file)
@@ -975,7 +975,7 @@ isShortBranch (unsigned char *instr)
 
   if (instr0 == 0x1E || instr0 == 0x1F)        /* JL or JMP */
     if ((instr[1] & 0xF0) == 0xC0)
-      return 2;                        /* jump thru a register */
+      return 2;                        /* jump through a register.  */
 
   if (instr0 == 0x7C || instr0 == 0x7D ||      /* BC, BNC, BL, BRA */
       instr0 == 0x7E || instr0 == 0x7F)
@@ -1088,7 +1088,7 @@ branchDestination (unsigned char *instr, int branchCode)
     case 1:                    /* RTE */
       return registers[BPC] & ~3;      /* pop BPC into PC */
     case 2:                    /* JL or JMP */
-      return registers[instr[1] & 0x0F] & ~3;  /* jump thru a register */
+      return registers[instr[1] & 0x0F] & ~3;  /* jump through a register.  */
     case 3:                    /* BC, BNC, BL, BRA (short, 8-bit relative offset) */
       return (((int) instr) & ~3) + ((char) instr[1] << 2);
     case 4:                    /* BC, BNC, BL, BRA (long, 24-bit relative offset) */
index b9ae418d8cda1215465acbff524f27ced325a548..0a0774694287579abd5ec0d6964a73cca6a4771b 100644 (file)
@@ -722,7 +722,7 @@ iterate_over_symtabs (program_space *pspace, const char *name,
                                   callback))
        return;
 
-  /* Same search rules as above apply here, but now we look thru the
+  /* Same search rules as above apply here, but now we look through the
      psymtabs.  */
   for (objfile *objfile : pspace->objfiles ())
     if (objfile->map_symtabs_matching_filename (name, real_path.get (),
index 962996fb3cb81bf38cb0532065246f0603c484b0..4378c0572d299c0e50d460db59f9ef702f416498 100644 (file)
@@ -1754,7 +1754,7 @@ target_xfer_partial (struct target_ops *ops,
    If an error occurs, no guarantee is made about the contents of the data at
    MYADDR.  In particular, the caller should not depend upon partial reads
    filling the buffer with good data.  There is no way for the caller to know
-   how much good data might have been transfered anyway.  Callers that can
+   how much good data might have been transferred anyway.  Callers that can
    deal with partial reads should call target_read (which will retry until
    it makes no progress, and then return how much was transferred).  */
 
index dcf68a6cca0bde5e0d016e702210386bcd1d5a8a..6da58c7e179a443f6503d75f6572045575233369 100644 (file)
@@ -134,7 +134,7 @@ enum inferior_event_type
     INF_EXEC_COMPLETE,
   };
 \f
-/* Target objects which can be transfered using target_read,
+/* Target objects which can be transferred using target_read,
    target_write, et cetera.  */
 
 enum target_object
@@ -156,7 +156,7 @@ enum target_object
   TARGET_OBJECT_CODE_MEMORY,
   /* Kernel Unwind Table.  See "ia64-tdep.c".  */
   TARGET_OBJECT_UNWIND_TABLE,
-  /* Transfer auxilliary vector.  */
+  /* Transfer auxiliary vector.  */
   TARGET_OBJECT_AUXV,
   /* StackGhost cookie.  See "sparc-tdep.c".  */
   TARGET_OBJECT_WCOOKIE,
@@ -177,7 +177,7 @@ enum target_object
   /* Currently loaded libraries specific to AIX systems, in XML format.  */
   TARGET_OBJECT_LIBRARIES_AIX,
   /* Get OS specific data.  The ANNEX specifies the type (running
-     processes, etc.).  The data being transfered is expected to follow
+     processes, etc.).  The data being transferred is expected to follow
      the DTD specified in features/osdata.dtd.  */
   TARGET_OBJECT_OSDATA,
   /* Extra signal info.  Usually the contents of `siginfo_t' on unix
@@ -821,7 +821,7 @@ struct target_ops
        transferring if desired.  This is handled in target.c.
 
        The interface does not support a "retry" mechanism.  Instead it
-       assumes that at least one addressable unit will be transfered on each
+       assumes that at least one addressable unit will be transferred on each
        successful call.
 
        NOTE: cagney/2003-10-17: The current interface can lead to
index 8fb8d1c7163ba1272eae853e5d401e4bfa37f6b1..69f386e0253ac3c7b5aa070715fe185e40c0a599 100644 (file)
@@ -86,7 +86,7 @@ if { [gdb_start_cmd] < 0 } {
 
 clean_restart "${binfile}$EXEEXT"
 
-# Ensure we don't accidently use the main symbol cache.
+# Ensure we don't accidentally use the main symbol cache.
 gdb_test_no_output "mt set symbol-cache-size 0"
 
 # Put something in the symbol lookup cache that will get looked up when
index 63a951c01d553a59ae8b36970f98594c805edda2..dd63bb875990eeced4535086f3448a04293af18e 100644 (file)
@@ -41,7 +41,7 @@ if {!$core_supported} {
   return -1
 }
 
-# Now taht the core file has been created, we can start the real
+# Now that the core file has been created, we can start the real
 # part of this testcase, which is to debug using that core file.
 # Restart GDB and load that core file.
 
index 50837ff8151251c531cb4e13b57d0fd598b71901..773239382cd7f6f73db3a5881db2d9e6bf38d8bf 100644 (file)
@@ -53,7 +53,7 @@ proc insert_breakpoint {function expected_location} {
     # If we managed to get the breakpoing address, then check that
     # we inserted it at the expected location by examining the
     # instruction at that address (we're not interested in the insn
-    # itself, but rather at the address printed at the begining of
+    # itself, but rather at the address printed at the beginning of
     # the instruction).
     if {$address != ""} {
        gdb_test "x /i $address" \
index 24c312954ad8d3e6b149c627b88937d61bc72ef0..ed595d42df3ff94a77848934a5414c57f630bbcf 100644 (file)
@@ -54,7 +54,7 @@ proc insert_breakpoint {function expected_location} {
     # If we managed to get the breakpoing address, then check that
     # we inserted it at the expected location by examining the
     # instruction at that address (we're not interested in the insn
-    # itself, but rather at the address printed at the begining of
+    # itself, but rather at the address printed at the beginning of
     # the instruction).
     if {$address != ""} {
        gdb_test "x /i $address" \
index d60f63e63b8b0bc036e7736d479b5cacd8f9800d..f91bebe933a93b34812902f85d4fec75238ff1d7 100644 (file)
@@ -18,7 +18,7 @@
 # if the breakpoint is set past the syscall due to faulty prologue skipping,
 # the breakpoint will not trigger.
 #
-# In particular, we're trying to excercise the instruction analysis
+# In particular, we're trying to exercise the instruction analysis
 # functionality of prologue skipping.  If non-minimal symbols are
 # read, then that functionality might not be used because f.i.
 # line-info is used instead.  So, we use nodebug.
index 0e009b414a40059a9da265dcb059c66278b3c2e6..1cf9848bcf00aa28c715373769e14e22f3c01ee8 100644 (file)
@@ -29,7 +29,7 @@ foreach filename [lsort [glob $srcdir/$subdir/riscv-tdesc-loading-*.xml]] {
     }
 
     # Currently it is expected that all of the target descriptions in
-    # this test will load successfully, so we expect no additonal
+    # this test will load successfully, so we expect no additional
     # output from GDB.
     gdb_test_no_output "set tdesc filename $test_path" \
        "check [file tail $filename]"
index c485c9bb92463be9f9817f521a2dd6a298a40aa2..91a4e5b863ffc5051e7e04c0b428d9406266b85d 100644 (file)
@@ -184,7 +184,7 @@ proc test_scalar_returns { } {
     # known, both failed to print a final "source and line" and misplaced
     # the frame ("No frame").
 
-    # The test is writen so that it only reports one FAIL/PASS for the
+    # The test is written so that it only reports one FAIL/PASS for the
     # entire operation.  The value returned is checked further down.
     # "return_value_unknown", if non-empty, records why GDB realised
     # that it didn't know where the return value was.
index 85fac35d7c8068a160bc584472f9537afae65c5e..f355a28dd3663d65dfb290bed52ba028539801e8 100644 (file)
@@ -387,7 +387,7 @@ proc run_mid_line_completion_tests { root cmd } {
     gdb_exit
 }
 
-# Run filename completetion tests for those command that accept quoting and
+# Run filename completion tests for those command that accept quoting and
 # escaping of the filename argument.
 #
 # ROOT is the base directory as returned from setup_directory_tree, though,
@@ -471,7 +471,7 @@ proc run_unquoted_tests_core { root cmd { prefix "" } } {
 }
 
 
-# Run filename completetion tests for a sample of commands that take an
+# Run filename completion tests for a sample of commands that take an
 # unquoted, unescaped filename as an argument.  Only a sample of commands
 # are (currently) tested as there's a lot of commands that accept this style
 # of filename argument.
index 5bc534b323adee4d4908756755b842729d584e46..ff1d5617430c33a38a4545072d98cc1a13066377 100644 (file)
@@ -225,7 +225,7 @@ proc misc_tests {resolver_attr resolver_debug final_debug} {
        return 1
     }
 
-    # The "if" condition is artifical to test regression of a former patch.
+    # The "if" condition is artificial to test regression of a former patch.
     gdb_breakpoint "[gdb_get_line_number "break-at-nextcall"] if i && (int) gnu_ifunc (i) != 42"
 
     gdb_breakpoint [gdb_get_line_number "break-at-call"]
index aa33f38e491a9caab00ba5ac902170870e233b2a..90442d0f846c68d3ddd85bea5ddb67071049112d 100644 (file)
@@ -120,7 +120,7 @@ proc run_info_sources { extra_args args } {
            }
        }
 
-       # Now check ARGS agaisnt the values held in INFO_SOURCES map.
+       # Now check ARGS against the values held in INFO_SOURCES map.
        foreach {objfile sourcefile} $args {
            # First, figure out if we're expecting SOURCEFILE to be present,
            # or not.
index 87bd7be3ae6c36e7c57e626b4ebe330dc1951e31..88f4afec3f9ab443c80ed1ac2c79824ef6b19748 100644 (file)
@@ -102,7 +102,7 @@ with_test_prefix "continue" {
     }
 }
 
-# Try stepping the program.  Stepping may go through diferent code
+# Try stepping the program.  Stepping may go through different code
 # paths in the target backends.
 with_test_prefix "stepi" {
     test {
index 1fe1390d892c716e2a997d66a827247cf84c4503..23861138a7a7a3ed5b3b09173b3ca002346d4780 100644 (file)
@@ -70,7 +70,7 @@
 # #included by a given source file in a list sorted by the line at
 # which they were #included; this gives GDB the chance to detect
 # multiple #inclusions at the same line, complain, and assign
-# distinct, albiet incorrect, line numbers to each #inclusion.
+# distinct, albeit incorrect, line numbers to each #inclusion.
 #
 # However, at one point GDB was sorting the list in reverse order,
 # while the code to assign new, distinct line numbers assumed it was
index 2adde303651e957d6b8375a5786dbf5f193d9dc1..c8730ece8a088f4d116d63ccf184c06b538b0b60 100644 (file)
@@ -150,7 +150,7 @@ if {$data_overlays} {
 }
 
 # Verify that early-mapped overlays have been bumped out 
-# by later-mapped overlays layed over in the same VMA range.
+# by later-mapped overlays laid over in the same VMA range.
 
 send_gdb "overlay list\n"
 gdb_expect {
index 485540062b2fdb14412ec4687d900acd7a6e5bce..6f4616e6598ab59fe0bbf220dbfc2013df7975cf 100644 (file)
@@ -22,7 +22,7 @@
 # This test is known to tickle the following problems: kernel letting
 # the inferior execute both the system call, and the instruction
 # following, when single-stepping a system call; kernel failing to
-# propogate the single-step state when single-stepping the sigreturn
+# propagate the single-step state when single-stepping the sigreturn
 # system call, instead resuming the inferior at full speed; GDB
 # doesn't know how to software single-step across a sigreturn
 # instruction.  Since the kernel problems can be "fixed" using
index 38c63b5b12488b2900cc8b8d419d2b5286461aa5..e6bd35a1f26c9c68d7a34dcf3447168a1570b0c7 100644 (file)
@@ -105,7 +105,7 @@ if {[runto_main]} {
        "next to ++count #2"
     sleep 2
 
-    # ...call the function, which is immediatly interrupted
+    # ...call the function, which is immediately interrupted
 
     gdb_test "p func1 ()" \
 "Breakpoint \[0-9\]*, handler.*
index 8717721735e3b1e75a6ad1dfe7a685f1772e39ca..79fe6481ad9dc8ffc8a96d03495472439be7a334 100644 (file)
@@ -59,7 +59,7 @@ handler (int sig)
   while (1)
     {
       /* Wait until a signal has become pending, that way when this
-        handler returns it will be immediatly delivered leading to
+        handler returns it will be immediately delivered leading to
         back-to-back signals.  */
       sigset_t set;
       sigemptyset (&set);
index 9286253259d106400d942f2516e30f2829249785..227115605e9624c462cbbc0be7fc9bb41f7008dc 100644 (file)
@@ -196,7 +196,7 @@ proc check_field { t } {
     gdb_test "continue" "register struct f_${t} u = f_${t};" \
            "continue field ${t}"
 
-    # Match either the return statement, or the line immediatly after
+    # Match either the return statement, or the line immediately after
     # it.  The compiler can end up merging the return statement into
     # the return instruction.
     gdb_test "next" "(return u;|\})" "next field ${t}"
index 31b2bbe265b24a0ce36037c4107af902cd192d0b..7f1192d48e5ef604700f1e6f1b4624b8b13c081e 100644 (file)
@@ -296,7 +296,7 @@ proc test_struct_returns { n } {
     # known, both failed to print a final "source and line" and misplaced
     # the frame ("No frame").
 
-    # The test is writen so that it only reports one FAIL/PASS for the
+    # The test is written so that it only reports one FAIL/PASS for the
     # entire operation.  The value returned is checked further down.
     # "return_value_known", if non-zero, indicates that GDB knew where
     # the return value was located.
index 847647edabca2906e938fd3a96aa993670276fc7..908918a785b87913ed29792a31d5454081bf537b 100644 (file)
@@ -68,7 +68,7 @@ proc find_env {varname} {
            }
            -re "$gdb_prompt $" {
                # If this fails, bail out, otherwise we get stuck in
-               # an infinite loop.  The caller will end up emiting a
+               # an infinite loop.  The caller will end up emitting a
                # FAIL.
                return "<fail>"
            }
index 30fa12e0a3127d3e5bdf3a6c59dfe851ab945ac9..154514f45139ece15a6e54591d124928b497f990 100644 (file)
@@ -62,7 +62,7 @@
 #
 # If the target has non-continuable watchpoints, while GDB thinks it
 # has continuable watchpoints, GDB will see a watchpoint trigger,
-# notice no value changed, and immediatly continue the target.  Now,
+# notice no value changed, and immediately continue the target.  Now,
 # either the target manages to step-over the watchpoint transparently,
 # and GDB thus fails to present to value change to the user, or, the
 # watchpoint will keep re-triggering, with the program never making
index ebe009acc60fbd2c208f926dfbd6f4d3150b68ce..708829971991d516d09ed1b534c2ad6a3e8f7be6 100644 (file)
@@ -55,7 +55,7 @@ proc prepare {lang} {
     return 1
 }
 
-# The following list is layed out as a table.  It is composed by
+# The following list is laid out as a table.  It is composed by
 # sub-lists (lines), with each line representing one whatis/ptype
 # test.  The sub-list (line) elements (columns) are (in order):
 #
index 9651691ef12cbc94f9df4c54ab51d003743bd6e5..5caf4d1f3a61630ac2a324f90a3e53055c4d85f4 100644 (file)
@@ -73,7 +73,7 @@ gdb_test_multiple "print *e1" "print *e1" {
 
 # NOTE: carlton/2004-01-14: This test with an "<incomplete type>"
 # message because, within rtt1.cc, GDB has no way of knowing that the
-# class is called 'n2::D2' instead of just 'D2'.  This is an artifical
+# class is called 'n2::D2' instead of just 'D2'.  This is an artificial
 # test case, though: if we were using these classes in a more
 # substantial way, G++ would emit more debug info.  As is, I don't
 # think there's anything that GDB can do about this case until G++
index 446cd825947addbafc1ed194fb7033b950539e60..af1719dc53a854c5dad4d41c7f14a97f2abfb290 100644 (file)
@@ -26,7 +26,7 @@ proc do_test { use_header } {
 
     if { $use_header } {
        # This test will not pass due to poor debug information
-       # generated by GCC (at least upto 10.x).  See
+       # generated by GCC (at least up to 10.x).  See
        # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94474
        return
     }
index 1a3d53c2116263becbeefe049a7b80c995b77796..2be211fac84ea016bb23b3cd9fefceadc09505a8 100644 (file)
@@ -40,7 +40,7 @@ Dwarf::assemble $asm_file {
        [function_range frame3 [list ${srcdir}/${subdir}/$srcfile]]
 
     # Very simple info for this test program.  We don't care about
-    # this information being correct (w.r.t. funtion / argument types)
+    # this information being correct (w.r.t. function / argument types)
     # just so long as the compilation using makes use of the
     # .debug_ranges data then the test achieves its objective.
     cu { label cu_label } {
index 1763fab046ccd949544f80ac603fc049d1804adc..279f6f3011fafb2ebb419861718cd16245511c45 100644 (file)
@@ -97,7 +97,7 @@ SYMBOL(main):
        .byte   0x87
        .4byte  .Lskeleton_debug_line0  /* DW_AT_stmt_list */
 
-       /* Manually inserted to have a DW_AT_specification refering to
+       /* Manually inserted to have a DW_AT_specification referring to
           something and appearing ahead of it.  */
        .uleb128 0x8    /* DW_TAG_class_type */
        .4byte .Ltu_class_type - .Ltu_start_dwo
index 36c0bb44bd5469a04eb79398b70a3670b02efdf3..4c7dc0e7821988e3a8315564d78f28341fd4b575 100644 (file)
@@ -23,7 +23,7 @@ require dwarf2_support
 standard_testfile main.c .S
 
 # Create the DWARF.  This is derived from the reproducer in the bug
-# mentioned above.  This DIE tree is typical of compilations wtih
+# mentioned above.  This DIE tree is typical of compilations with
 # LTO enabled.
 
 set asm_file [standard_output_file $srcfile2]
index 856d2119c955d9a29544bc764be8072432540140..2423ee93617f6d5dc7c733e729dcea6af3d99f9f 100644 (file)
@@ -101,7 +101,7 @@ SYMBOL(main):
        .byte   0x87
        .4byte  .Ldebug_line0   /* DW_AT_stmt_list */
 
-       /* Manually inserted to have a DW_AT_specification refering to
+       /* Manually inserted to have a DW_AT_specification referring to
           something and appearing ahead of it.  */
        .uleb128 0x8    /* DW_TAG_class_type */
        .4byte .Ltu_class_type - .Ldebug_types0
@@ -185,7 +185,7 @@ SYMBOL(main):
                .byte   0x3     /* DW_OP_addr */
                .4byte  baz
 
-               /* Manually inserted to have a DW_AT_specification refering to
+               /* Manually inserted to have a DW_AT_specification referring to
                   something and appearing ahead of it.  */
                .uleb128 0x8    /* DW_TAG_class_type */
                .4byte .Lcu_class_type - .Ldebug_info0 /* DW_AT_specification */
index edbf5abee9735a6ace6ecea45ce67cf6f84cd467..494ed1e9b8ac11094d1a815cb2c4f25cc1704234 100644 (file)
@@ -60,7 +60,7 @@ proc test_float_literal_types_accepted {} {
     # Test various floating point formats
 
     # this used to guess whether to look for "real*4" or
-    # "real*8" based on a target config variable, but noone
+    # "real*8" based on a target config variable, but no one
     # maintained it properly.
 
     gdb_test "pt .44" "type = real\\*\[0-9\]+"
index 1ec95767093c5ff2bc4762f80ceed74ece2a7851..64e86ac5e1a3a6719ded54f80b9705792fe0bcef 100644 (file)
@@ -27,11 +27,11 @@ if ![fortran_runto_main] {
     return -1
 }
 
-# Check VLA with arbitary length and check that elements outside of
+# Check VLA with arbitrary length and check that elements outside of
 # bounds of the passed VLA can be accessed correctly.
 gdb_breakpoint [gdb_get_line_number "end-of-bar"]
 gdb_continue_to_breakpoint "end-of-bar"
-gdb_test "p array1(42)" " = 3" "print arbitary array1(42)"
-gdb_test "p array1(100)" " = 100" "print arbitary array1(100)"
-gdb_test "p array2(4,10)" " = 1" "print arbitary array2(4,10)"
-gdb_test "p array2(4,100)" " = 1" "print arbitary array2(4,100)"
+gdb_test "p array1(42)" " = 3" "print arbitrary array1(42)"
+gdb_test "p array1(100)" " = 100" "print arbitrary array1(100)"
+gdb_test "p array2(4,10)" " = 1" "print arbitrary array2(4,10)"
+gdb_test "p array2(4,100)" " = 1" "print arbitrary array2(4,100)"
index 4589edc388fdc946067314787d108fa6398adf4b..c17523a1576d6fd501d9933514765eba4d5ecaa9 100644 (file)
@@ -263,7 +263,7 @@ proc test_python_helper {} {
     # Test the htab_t pretty-printer.
     gdb_test -prompt $outer_prompt_re "print all_bfds" "htab_t with ${::decimal} elements = \\{${::hex}.*\\}"
 
-    # Test the intrusive_list pretty-printer.  A bug occured in the
+    # Test the intrusive_list pretty-printer.  A bug occurred in the
     # pretty-printer for lists with more than one element.  Verify that
     # we see both elements of the inferior_list list being printed.
     gdb_test -prompt $outer_prompt_re "print inferior_list" "intrusive list of inferior = {.*, num = 1,.*, num = 2,.*}"
index fec8422ef3ab6764a185517f50bf2f37ffae7cab..78375426adbcdef97f723a86a3f92bc5b0d8c176 100644 (file)
@@ -66,7 +66,7 @@ gdb_test "print i + k" " = 4"
 gdb_test "print j + k" " = 5"
 gdb_test "print i + j + k" " = 6"
 
-# Test substraction
+# Test subtraction
 gdb_test "print j - i" " = 1"
 gdb_test "print i - j" "= -1"
 gdb_test "print k -i -j" " = 0"
index 68cd11aa4664dc75f3ad77b626559f454a0f1781..214242f14e1c5195beecb4624c6209d3b02d6198 100644 (file)
@@ -30,7 +30,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
 gdb_test_no_output "set max-completions unlimited"
 
 # Confirm that the important global namespace typedefs were indeed
-# emited in the debug info.
+# emitted in the debug info.
 gdb_test "ptype NS2" "type = int"
 gdb_test "ptype object" "type = struct NS1::NS2::object {.*"
 gdb_test "ptype Templ1" "type = struct NS1::NS2::Templ1<unsigned int> .*"
index 480e03406f26ca5d7eb7a8e631d0ff9daf128ac0..09bd9a25d77bb79cd1c24452b6b727df5da607cd 100644 (file)
@@ -831,7 +831,7 @@ proc_with_prefix template-class-with-method {} {
        }
 }
 
-# Test completion of a const-overloaded funtion (const-overload).
+# Test completion of a const-overloaded function (const-overload).
 # Note that "const" appears after the function/method parameters.
 
 proc_with_prefix const-overload {} {
index 18e19a27be3ff220e8d69a132e3d3e4a1891691b..305c06140e4847310c1430f4eca8b1b7b8ba3074 100644 (file)
@@ -172,7 +172,7 @@ with_test_prefix "test_insert_delete_modify" {
     test_insert_delete_modify
 }
 
-# Test 'breakpoint-modified' notification is emited when pending breakpoints are
+# Test 'breakpoint-modified' notification is emitted when pending breakpoints are
 # resolved.
 
 proc test_pending_resolved { } {
index c048acad3e75932469135706c00a90072bde125f..08c7218221794999162366d40d598201b54fbef1 100644 (file)
@@ -73,7 +73,7 @@ foreach_mi_ui_mode mode {
     # UI.
     if {$mode eq "separate"} {
        with_spawn_id $gdb_main_spawn_id {
-           gdb_test_multiple "" "drain CLI output upto breakpoint" {
+           gdb_test_multiple "" "drain CLI output up to breakpoint" {
                -re "Thread 1 \[^\r\n\]+ hit Breakpoint $decimal,\
                      breakpt \\(\\) at\
                      \[^\r\n\]+\r\n$decimal\\s+\[^\r\n\]+\r\n" {
index 59ff8ce1ec0d6797738550ca568f7d8edf1618e7..0aeba1f7872d63768eaaba0c2d08fdf0218b2455 100644 (file)
@@ -94,7 +94,7 @@ proc create_inferior {which_inf inf_how} {
                 "attach"] == 0} {
 
            # The program is now stopped, but if testing against
-           # gdbserver, then the inferior's output emmitted before it
+           # gdbserver, then the inferior's output emitted before it
            # stopped isn't flushed unless we explicitly do so,
            # because it is on a different spawn_id.  Do it now, to
            # avoid confusing tests further below.
index 59a1c6173ba31f2be7738c47d05152dfa297e06b..59fecaa444c3984cbfb19d3914d77f2d58affe2e 100644 (file)
@@ -18,7 +18,7 @@
 # set past the syscall due to faulty prologue skipping, the breakpoint will not
 # trigger.
 #
-# In particular, we're trying to excercise the instruction analysis
+# In particular, we're trying to exercise the instruction analysis
 # functionality of prologue skipping.  If the non-minimal symbols are
 # read for libc, then that functionality might not be used because f.i.
 # line-info is used instead.  Also, if the minimal symbols are not read
index 3e836a3e53cabd4ca7a159626d21267e15503011..d96fb9be10a983dc056b30f0db00476c34190fe7 100644 (file)
@@ -87,7 +87,7 @@ gdb_test "print r + (-1)" " = 0\\.2(499.*|5|500.*)"
 gdb_test "print r + (-5)" " = -3\\.7(499.*|5|500.*)"
 gdb_test "print r + (-10)" " = -8\\.7(499.*|5|500.*)"
 
-# Test substraction
+# Test subtraction
 gdb_test "print r - s" " = -0\\.9(499.*|5|500.*)"
 gdb_test "print r - t" " = 4\\.4(499.*|5|500.*)"
 
index ec5f53c8bb38829f681310affd13ea114cc96769..974de6f37e8fad6322f7a0c64ee0f56a3b5591d5 100644 (file)
@@ -71,7 +71,7 @@ gdb_test "print i + k" " = 4"
 gdb_test "print j + k" " = 5"
 gdb_test "print i + j + k" " = 6"
 
-# Test substraction
+# Test subtraction
 gdb_test "print j - i" " = 1"
 gdb_test "print i - j" "= -1"
 gdb_test "print k -i -j" " = 0"
index 5b8d00b6ce761d124565813be19f24d4e46c8b63..262045edfa81902d81b1559b55bd24c1856240a6 100644 (file)
@@ -59,7 +59,7 @@ proc test_float_literal_types_accepted {} {
     # Test various floating point formats
 
     # this used to guess whether to look for "real*4" or
-    # "real*8" based on a target config variable, but noone
+    # "real*8" based on a target config variable, but no one
     # maintained it properly.
 
     gdb_test "pt .44" "type = double"
index 920921396395f0b8d98f82e8e2b637ec5ad97033..d0349c546ad5099c9368f0a923ba90f24f729fd7 100644 (file)
@@ -82,7 +82,7 @@ set default_pointer_regexp "0x\[a-fA-F0-9\]+"
 
 # A regular expression for a non-expanded C++ reference.
 #
-# Stringifying a C++ reference produces an address preceeded by a "@" in
+# Stringifying a C++ reference produces an address preceded by a "@" in
 # Python, but, by default, the C++ reference/class is expanded by the
 # GDB print command.
 set default_ref_regexp "@${default_pointer_regexp}"
index 9949907187b51740095e5ce0d99960791f4e0a8e..8f933eb61aed692557cb08e8ab96dfe3729283a0 100644 (file)
@@ -37,7 +37,7 @@ proc run_tests {} {
        gdb_test_no_output "record" "turn on process record"
 
        # This regression test verifies the reverse-step and reverse-next
-       # commands work properly when executing backwards thru a source line
+       # commands work properly when executing backwards through a source line
        # containing two function calls on the same source line, i.e.
        # func1 (); func2 ();.  This test is compiled so the dwarf info
        # does not contain the line table information.
@@ -100,7 +100,7 @@ proc run_tests {} {
        #   the called function, stopping at the beginning of the last
        #   statement in the called function (typically a return statement).
        #   Also, as with the step command, if non-debuggable functions are
-       #   called, reverse-step will run thru them backward without
+       #   called, reverse-step will run through them backward without
        #   stopping.
 
        gdb_continue_to_breakpoint \
index 9ae67b37f3fc302a226b786f7cabc5bafecd10ba..a3979b7afd417342a684a8b7d1b306c3640f87dd 100644 (file)
@@ -153,7 +153,7 @@ gdb_test_multiple "stepi" "$test_message" {
     }
 }
 
-# stepi thru return of a function call
+# stepi through return of a function call
 
 set test_message "stepi back from function call"
 gdb_test_multiple "stepi" "$test_message" {
@@ -185,10 +185,10 @@ gdb_test_multiple "stepi" "$test_message" {
 
 gdb_test_no_output "set exec-dir reverse" "set reverse execution"
 
-# stepi backward thru return and into a function
+# stepi backward through return and into a function
 
 set stepi_location  [gdb_get_line_number "ARRIVED IN CALLEE" "$srcfile"]
-set test_message "reverse stepi thru function return"
+set test_message "reverse stepi through function return"
 gdb_test_multiple "stepi" "$test_message" {
     -re "NEXTI TEST.*$gdb_prompt $" {
        fail "$test_message (start statement)"
index 2db73e900c456f9e4bd4811a1e98e90e7e80f2f7..a3c3b5a5cd143fb8fd4c07bd22457cacbef8f2e6 100644 (file)
@@ -114,7 +114,7 @@ gdb_test_multiple "stepi" "$test_message" {
     }
 }
 
-# stepi thru return of a function call
+# stepi through return of a function call
 
 set test_message "stepi back from function call"
 gdb_test_multiple "stepi" "$test_message" {
@@ -145,10 +145,10 @@ gdb_test_multiple "stepi" "$test_message" {
 # Set reverse execution direction
 gdb_test_no_output "set exec-dir reverse" "set reverse execution"
 
-# stepi backward thru return and into a function
+# stepi backward through return and into a function
 
 set stepi_location  [gdb_get_line_number "ARRIVED IN CALLEE" "$srcfile"]
-set test_message "reverse stepi thru function return"
+set test_message "reverse stepi through function return"
 gdb_test_multiple "stepi" "$test_message" {
     -re "NEXTI TEST.*$gdb_prompt $" {
        fail "$test_message (start statement)"
index 5d15a29ce8c3662b3dd4998ccc8e62acebc3f867..3851f8f85bf11c2f1daacec74a845b3c515a0e21 100644 (file)
@@ -124,7 +124,7 @@ if {$is_remote} {
     #
     # However, we might be too quick sending the 'info threads 99' command,
     # so, if we see the output of that command without any thread exited
-    # text, we wait for a short while and try again.  We wait for upto 5
+    # text, we wait for a short while and try again.  We wait for up to 5
     # seconds (5 tries).  However, this might mean on a _really_ slow
     # machine that the thread still hasn't exited.  I guess if we start
     # seeing that then we can just update ATTEMPT_COUNT below.
index 83fa86dc359c870753aa395cfe8bd0df69f673f8..658f15e62d25c6275b0458773c90c229016ee4a5 100644 (file)
@@ -47,7 +47,7 @@ if {![runto_main]} {
 
 
 #
-# set breakpoint at thread fucntion tf
+# set breakpoint at thread function tf
 #
 gdb_test "break tf" \
     "Breakpoint.*at.* file .*$srcfile, line.*" \
index b7d0f9fe79024c1cfcdd2076a0eb75fa643e20eb..9c6d3f54f98d12791732a0851955eadc6d086b9c 100644 (file)
@@ -161,7 +161,7 @@ proc gdb_collect_args_test { myargs msg } {
        # collected.  In C, an array as function parameters is a special
        # case; it's just a pointer into the caller's array, and as such,
        # that's what normally the debug info describes.  Maybe this was
-       # originaly written for a compiler where array parameters were
+       # originally written for a compiler where array parameters were
        # really described as arrays in debug info.
 
        setup_xfail "*-*-*"
@@ -250,7 +250,7 @@ proc gdb_collect_argarray_test { myargs msg } {
        # are collected.  In C, an array as function parameters is a
        # special case; it's just a pointer into the caller's array,
        # and as such, that's what normally the debug info describes.
-       # Maybe this was originaly written for a compiler where array
+       # Maybe this was originally written for a compiler where array
        # parameters were really described as arrays in debug info.
 
        setup_xfail "*-*-*"
index e6672db21620f627aa050184edeaac5821b743de..dee7142a504ee642a6524ac096b11a65c3590484 100644 (file)
@@ -148,7 +148,7 @@ proc test_reconnect { } {
     }
 }
 
-# Test 'breakpoint-modified' notification is emited when pending tracepoints are
+# Test 'breakpoint-modified' notification is emitted when pending tracepoints are
 # resolved.
 
 proc test_pending_resolved { } {
index 36c7815fa337836f4d015a60d3f8eb4b4dd949bd..4d71f04927a9ddb86742b26a1d16ee0b9cb284ca 100644 (file)
@@ -40,7 +40,7 @@ Term::command "layout h"
 Term::command "winheight cmd + 3"
 
 # As the tuiterm.exp library just waits for the prompt and command to
-# be echo'ed bcak to the screen, multiple 'info win' calls like this
+# be echo'ed back to the screen, multiple 'info win' calls like this
 # have a problem.  Dejagnu will send the command to gdb, but will then
 # immediately see the '(gdb) info win' output from the first use
 # above.  This means we end up rushing ahead, and some tests might
index 995cdcac9414507a07dbb63656ef8bb96c65c572..f9be6c414842c7a19d4c7a8bd4923c5f6c466ff1 100644 (file)
@@ -2771,7 +2771,7 @@ namespace eval Dwarf {
     # section_version n
     #                - section version number to emit
     #                default = 2
-    # seg_size n   - the size of the adress selector in bytes: 0, 4, or 8
+    # seg_size n   - the size of the address selector in bytes: 0, 4, or 8
     #                default = 0
     #
     # LABEL is the label of the corresponding CU.
index 8be5067a4dc0c67c32b5d88b03d107ab3c91266a..894af399bce9028bf33b1b55cac447d5bcf2d106 100644 (file)
@@ -57,7 +57,7 @@ proc symlink_resolve {file} {
        } else {
            set src2 $target
        }
-       verbose -log "Resolved symlink $file targetting $target as $src2"
+       verbose -log "Resolved symlink $file targeting $target as $src2"
        set file $src2
 
        set loop [expr $loop + 1]
index 00d7e30a13e23419b116f4320309e2482a7bb150..0d76e2fa5768c04cc580898a11641c2483b90b71 100644 (file)
@@ -100,7 +100,7 @@ proc selftest_setup { executable function } {
 # self-test, then return an empty string.
 proc selftest_prepare {} {
     # Are we testing with a remote board?  In that case, the target
-    # won't have access to the GDB's auxilliary data files
+    # won't have access to the GDB's auxiliary data files
     # (data-directory, etc.).  It's simpler to just skip.
     if { [is_remote target]  || [is_remote host] } {
        return
index bbfeaefeccd2b1791eaa01b7520fe12fa65dc78a..440a5cc89ce929be3f9a07fe3c98d024bd7c4fc0 100644 (file)
@@ -57,7 +57,7 @@ static tilegx_linux_nat_target the_tilegx_linux_nat_target;
 
 /* Mapping between the general-purpose registers in `struct user'
    format and GDB's register array layout.  Note that we map the
-   first 56 registers (0 thru 55) one-to-one.  GDB maps the pc to
+   first 56 registers (0 through 55) one-to-one.  GDB maps the pc to
    slot 64, but ptrace returns it in slot 56.  */
 static const int regmap[] =
 {
index 8cf96fd86183d4ee20ac92f574c18e93d99ce53a..d11c3f8a6be50801fc0f3a6f8d1c50a348336157 100644 (file)
@@ -2110,7 +2110,7 @@ tfind_1 (enum trace_find_type type, int num,
         if you're in a user-defined command or especially in a
         loop, then you need a way to detect that the command
         failed WITHOUT aborting.  This allows you to write
-        scripts that search thru the trace buffer until the end,
+        scripts that search through the trace buffer until the end,
         and then continue on to do something else.  */
   
       if (from_tty)
index 531fdb48ab0bc6f20b8f72c5297f7355eec9ef65..de1cc6c47bd79fcdc41fb857226f8da08b00014d 100644 (file)
@@ -201,7 +201,7 @@ enum
     E_R149_REGNUM,
     E_NUM_OF_V850E2_REGS,
 
-    /* v850e3v5 system registers, selID 1 thru 7.  */
+    /* v850e3v5 system registers, selID 1 through 7.  */
     E_SELID_1_R0_REGNUM = E_NUM_OF_V850E2_REGS,
     E_SELID_1_R31_REGNUM = E_SELID_1_R0_REGNUM + 31,
 
@@ -1047,7 +1047,7 @@ v850_push_dummy_call (struct gdbarch *gdbarch,
 
   /* Now load as many as possible of the first arguments into
      registers, and push the rest onto the stack.  There are 16 bytes
-     in four registers available.  Loop thru args from first to last.  */
+     in four registers available.  Loop through args from first to last.  */
   for (argnum = 0; argnum < nargs; argnum++)
     {
       int len;
index 8b3888fa63b2ace416fb21ea403531fc2c7f6d57..88a42d38660a5f80e8ba507e5d0e9e15d2edcb73 100644 (file)
@@ -1486,7 +1486,7 @@ value_coerce_to_target (struct value *val)
    nonzero lower bound.
 
    FIXME: A previous comment here indicated that this routine should
-   be substracting the array's lower bound.  It's not clear to me that
+   be subtracting the array's lower bound.  It's not clear to me that
    this is correct.  Given an array subscripting operation, it would
    certainly work to do the adjustment here, essentially computing:
 
index eb30c31f8f80d5d158daf857f882d6e6c838dfd0..998ad0a9d658b4c710f3f4caaa5cf7117d7f0baa 100644 (file)
@@ -1538,7 +1538,7 @@ emit_add (uint32_t *buf, struct aarch64_register rd,
 
    RD is the destination register.
    RN is the input register.
-   IMM is the immediate to substract to RN.  */
+   IMM is the immediate to subtract to RN.  */
 
 static int
 emit_sub (uint32_t *buf, struct aarch64_register rd,
index dda224f0a74cc21cc1e414802ac2cf5e616d75cc..1bcaf6c3f91118fbe8262173a33d26b28038900d 100644 (file)
@@ -282,7 +282,7 @@ arc_store_gregset (struct regcache *regcache, const void *buf)
   unsigned long pcl = regbuf->stop_pc & ~3L;
   supply_register_by_name (regcache, "pcl", &pcl);
 
-  /* Other auxilliary registers.  */
+  /* Other auxiliary registers.  */
   supply_register_by_name (regcache, "status32", &(regbuf->scratch.status32));
 
   /* BTA.  */
index ee89949a2a2a0e06a95d1ebd29d06315a17b113c..af534c7e818696d5a33a48cb4eb1ab04af27ce52 100644 (file)
@@ -361,7 +361,7 @@ get_next_pcs_is_thumb (struct arm_get_next_pcs *self)
 }
 
 /* Read memory from the inferior.
-   BYTE_ORDER is ignored and there to keep compatiblity with GDB's
+   BYTE_ORDER is ignored and there to keep compatibility with GDB's
    read_memory_unsigned_integer. */
 static ULONGEST
 get_next_pcs_read_memory_unsigned_integer (CORE_ADDR memaddr,
index 7a71f0d8f99c1b8b51c3b364d269ffdba2e81e8c..305290e96d4c531ced9a15faf1a0519f49f16754 100644 (file)
@@ -35,9 +35,9 @@ extern int gdb_signal_to_host_p (enum gdb_signal signo);
    gdb_signal_to_host() returns 0 and prints a warning() on GDB's
    console if SIGNO has no equivalent host representation.  */
 /* FIXME: cagney/1999-11-22: Here ``host'' is used incorrectly, it is
-   refering to the target operating system's signal numbering.
+   referring to the target operating system's signal numbering.
    Similarly, ``enum gdb_signal'' is named incorrectly, ``enum
-   gdb_signal'' would probably be better as it is refering to GDB's
+   gdb_signal'' would probably be better as it is referring to GDB's
    internal representation of a target operating system's signal.  */
 extern enum gdb_signal gdb_signal_from_host (int);
 extern int gdb_signal_to_host (enum gdb_signal);
index 256703cab4de59a67eb215dedc3f25c1255de235..b49310f2638f4027d5ff98a8d05d3de46dd9c1f4 100644 (file)
@@ -33,7 +33,7 @@
    - You can compare offsets of the same type for equality and order.
      You can't compare an offset with an unrelated type.
 
-   - You can add/substract an integer to/from an offset, which gives
+   - You can add/subtract an integer to/from an offset, which gives
      you back a shifted offset.
 
    - You can subtract two offsets of the same type, which gives you