]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
[gdb/testsuite] Codespell fixes
authorTom de Vries <tdevries@suse.de>
Wed, 10 Jun 2026 09:43:35 +0000 (11:43 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 10 Jun 2026 09:43:35 +0000 (11:43 +0200)
Fix typos in gdb/testsuite using an interactive session:
...
$ codespell --toml gdb/pyproject.toml -w -i 3 gdb/testsuite
...

157 files changed:
gdb/testsuite/Makefile.in
gdb/testsuite/TODO
gdb/testsuite/boards/native-extended-gdbserver.exp
gdb/testsuite/config/gdbserver.exp
gdb/testsuite/gdb.ada/limited-length.exp
gdb/testsuite/gdb.ada/mi_catch_assert.exp
gdb/testsuite/gdb.arch/amd64-disp-step-avx.exp
gdb/testsuite/gdb.arch/amd64-init-x87-values.exp
gdb/testsuite/gdb.arch/arc-analyze-prologue.S
gdb/testsuite/gdb.arch/arm-disp-step.S
gdb/testsuite/gdb.arch/arm-disp-step.exp
gdb/testsuite/gdb.arch/i386-prologue.c
gdb/testsuite/gdb.arch/mips16-thunks.exp
gdb/testsuite/gdb.arch/powerpc-power10.s
gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp
gdb/testsuite/gdb.arch/pr25124.exp
gdb/testsuite/gdb.arch/riscv-tdesc-regs.exp
gdb/testsuite/gdb.base/all-architectures.exp.tcl
gdb/testsuite/gdb.base/args.exp
gdb/testsuite/gdb.base/assign.exp
gdb/testsuite/gdb.base/auto-connect-native-target.exp
gdb/testsuite/gdb.base/bfd-errors.exp
gdb/testsuite/gdb.base/bigcore.exp
gdb/testsuite/gdb.base/bp-cond-failure.exp
gdb/testsuite/gdb.base/bp-permanent.exp
gdb/testsuite/gdb.base/call-sc.c
gdb/testsuite/gdb.base/call-sc.exp
gdb/testsuite/gdb.base/callfuncs.exp
gdb/testsuite/gdb.base/corefile-find-exec.exp
gdb/testsuite/gdb.base/default.exp
gdb/testsuite/gdb.base/display.c
gdb/testsuite/gdb.base/dlmopen.exp
gdb/testsuite/gdb.base/dup-sect.exp
gdb/testsuite/gdb.base/ena-dis-br.exp
gdb/testsuite/gdb.base/examine-backward.c
gdb/testsuite/gdb.base/exprs.exp
gdb/testsuite/gdb.base/fileio.c
gdb/testsuite/gdb.base/fileio.exp
gdb/testsuite/gdb.base/finish.exp
gdb/testsuite/gdb.base/frame-unwind-disable.exp
gdb/testsuite/gdb.base/gdb11531.exp
gdb/testsuite/gdb.base/gdb1250.exp
gdb/testsuite/gdb.base/gdbvars.exp
gdb/testsuite/gdb.base/gnu-ifunc.exp
gdb/testsuite/gdb.base/gnu_vector.exp
gdb/testsuite/gdb.base/index-cache.exp
gdb/testsuite/gdb.base/infcall-nested-structs.c
gdb/testsuite/gdb.base/infcall-timeout.exp
gdb/testsuite/gdb.base/inferior-args.exp
gdb/testsuite/gdb.base/jit-protocol.h
gdb/testsuite/gdb.base/kill-during-detach.c
gdb/testsuite/gdb.base/list-multi-source.exp
gdb/testsuite/gdb.base/list.exp
gdb/testsuite/gdb.base/many-completions.exp
gdb/testsuite/gdb.base/memattr.exp
gdb/testsuite/gdb.base/pointers.exp
gdb/testsuite/gdb.base/premature-dummy-frame-removal.exp
gdb/testsuite/gdb.base/remote-exec-file.exp
gdb/testsuite/gdb.base/return-nodebug.exp
gdb/testsuite/gdb.base/run-attach-while-running.exp
gdb/testsuite/gdb.base/scope.exp
gdb/testsuite/gdb.base/sep.exp
gdb/testsuite/gdb.base/share-psymtabs-bt.exp
gdb/testsuite/gdb.base/sigbpt.exp
gdb/testsuite/gdb.base/signull.exp
gdb/testsuite/gdb.base/sigstep.exp
gdb/testsuite/gdb.base/source.exp
gdb/testsuite/gdb.base/stap-probe.exp
gdb/testsuite/gdb.base/startup-hints.exp
gdb/testsuite/gdb.base/structs.c
gdb/testsuite/gdb.base/structs.exp
gdb/testsuite/gdb.base/style.exp
gdb/testsuite/gdb.base/sysroot-debug-lookup.exp
gdb/testsuite/gdb.base/ui-redirect.exp
gdb/testsuite/gdb.base/until-trailing-insns.exp
gdb/testsuite/gdb.base/watchpoint-reuse-slot.exp
gdb/testsuite/gdb.base/watchpoint-unaligned.c
gdb/testsuite/gdb.base/watchpoint-unaligned.exp
gdb/testsuite/gdb.base/watchpoint.exp
gdb/testsuite/gdb.cp/call-method-register.exp
gdb/testsuite/gdb.cp/cpexprs.exp.tcl
gdb/testsuite/gdb.cp/ena-dis-br-range.exp
gdb/testsuite/gdb.cp/except-multi-location.exp
gdb/testsuite/gdb.cp/local-static.exp
gdb/testsuite/gdb.cp/nested-types.exp
gdb/testsuite/gdb.cp/oranking.cc
gdb/testsuite/gdb.cp/pass-by-ref.exp
gdb/testsuite/gdb.cp/static-method.exp
gdb/testsuite/gdb.cp/virtbase.exp
gdb/testsuite/gdb.cp/wide_char_types.exp
gdb/testsuite/gdb.dwarf2/data-loc.c
gdb/testsuite/gdb.dwarf2/dw2-compressed.S
gdb/testsuite/gdb.dwarf2/dw2-empty-inline-ranges.exp
gdb/testsuite/gdb.dwarf2/dw2-entry-pc.exp
gdb/testsuite/gdb.dwarf2/dw2-extend-inline-block.exp
gdb/testsuite/gdb.dwarf2/dw2-inline-header-1.exp
gdb/testsuite/gdb.dwarf2/dw2-inline-header-2.exp
gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S
gdb/testsuite/gdb.dwarf2/dw2-skipped-line-entries.exp
gdb/testsuite/gdb.dwarf2/dw2-step-between-different-inline-functions.exp
gdb/testsuite/gdb.dwarf2/dw2-step-between-inline-func-blocks.exp
gdb/testsuite/gdb.dwarf2/dw2-unusual-field-names.exp
gdb/testsuite/gdb.dwarf2/formdata16.exp
gdb/testsuite/gdb.fortran/associated.f90
gdb/testsuite/gdb.fortran/class-allocatable-array.exp
gdb/testsuite/gdb.fortran/exprs.exp
gdb/testsuite/gdb.fortran/size.exp
gdb/testsuite/gdb.fortran/vla-type.exp
gdb/testsuite/gdb.fortran/vla-value-sub-finish.exp
gdb/testsuite/gdb.fortran/vla-value-sub.exp
gdb/testsuite/gdb.fortran/vla-value.exp
gdb/testsuite/gdb.linespec/explicit.exp
gdb/testsuite/gdb.python/py-arch-reg-names.exp
gdb/testsuite/gdb.python/py-disasm.py
gdb/testsuite/gdb.python/py-finish-breakpoint.exp
gdb/testsuite/gdb.python/py-format-address.exp
gdb/testsuite/gdb.python/py-format-string.exp
gdb/testsuite/gdb.python/py-frame.exp
gdb/testsuite/gdb.python/py-framefilter.exp
gdb/testsuite/gdb.python/py-mi-var-info-path-expression.exp
gdb/testsuite/gdb.python/py-missing-debug.exp
gdb/testsuite/gdb.python/py-missing-objfile.exp
gdb/testsuite/gdb.python/py-parameter-prefix.exp
gdb/testsuite/gdb.python/py-parameter.exp
gdb/testsuite/gdb.python/py-style.exp
gdb/testsuite/gdb.python/py-symbol.exp
gdb/testsuite/gdb.python/py-type.exp
gdb/testsuite/gdb.python/py-value.exp
gdb/testsuite/gdb.python/py-xmethods.exp
gdb/testsuite/gdb.python/python.exp
gdb/testsuite/gdb.python/tui-window-disabled.exp
gdb/testsuite/gdb.python/tui-window-disabled.py
gdb/testsuite/gdb.threads/fork-plus-threads.c
gdb/testsuite/gdb.threads/infcall-from-bp-cond-simple.exp
gdb/testsuite/gdb.threads/infcall-from-bp-cond-single.exp
gdb/testsuite/gdb.threads/leader-exit-schedlock.exp
gdb/testsuite/gdb.threads/pending-step.exp
gdb/testsuite/gdb.threads/stepi-over-clone.exp
gdb/testsuite/gdb.threads/thread-bp-deleted.exp
gdb/testsuite/gdb.threads/thread-specific-bp.exp
gdb/testsuite/gdb.trace/backtrace.exp
gdb/testsuite/gdb.trace/basic-libipa.exp
gdb/testsuite/gdb.trace/collection.exp
gdb/testsuite/gdb.trace/tfind.exp
gdb/testsuite/gdb.trace/tracecmd.exp
gdb/testsuite/gdb.trace/unavailable.exp
gdb/testsuite/lib/cache.exp
gdb/testsuite/lib/check-test-names.exp
gdb/testsuite/lib/cp-support.exp
gdb/testsuite/lib/data-structures.exp
gdb/testsuite/lib/dwarf.exp
gdb/testsuite/lib/gdb.exp
gdb/testsuite/lib/gdbserver-support.exp
gdb/testsuite/lib/mi-support.exp
gdb/testsuite/lib/opencl_hostapp.c
gdb/testsuite/lib/read1.c
gdb/testsuite/lib/tuiterm.exp

index 519960710261e9fa3675920136c1fa081b2816c9..f103d7ddd65dac7dd5a34b6b2eb620f7eaa14a35 100644 (file)
@@ -205,7 +205,7 @@ expanded_tests_or_none := $(or $(expanded_tests),no-matching-tests-found)
 endif
 
 # With check-single, if TESTS was expanded to "no-matching-tests-found" then
-# this will be passed to DejaGnu, resuling in an error.  With check-parallel
+# this will be passed to DejaGnu, resulting in an error.  With check-parallel
 # in the same situation, we avoid invoking DejaGnu, and instead just call
 # the check/no-matching-tests-found rule (which prints a helpful message).
 #
index 978991c77cdb0f936497856fa2ace5f5502db457..dbab844358ebe8c1bb9a73ea77f71902e17adade 100644 (file)
@@ -15,7 +15,7 @@ arguments (PR 1714).  Test printing structure arguments of
 2,4,6,8,12,16,and 20 bytes.  Same for structure return of all those
 sizes ("return", "finish", and call function).
 
-Get crossload tests to use --enable-targets and reenable them.
+Get crossload tests to use --enable-targets and re-enable them.
 
 corefile.exp:
 Test ability to run program when there is a core target, then go
index 7105b8aaac3675f296b81a37507f1824dda78222..64b1afee779a866c0c9e10c65b4772de6586b980 100644 (file)
@@ -35,7 +35,7 @@ send_user "configuring for gdbserver local testing (extended-remote)\n"
 # override our definitions.
 load_lib mi-support.exp
 
-# Overriden in order to start a "gdbserver --multi" instance whenever
+# Overridden in order to start a "gdbserver --multi" instance whenever
 # GDB is started.  Note nothing is needed for gdb_exit, since
 # gdbserver is started with --once, causing it to exit once GDB
 # disconnects.
@@ -89,7 +89,7 @@ proc extended_gdbserver_load_last_file {} {
     return 0
 }
 
-# Overriden in order to set the remote exec-file whenever a file is
+# Overridden in order to set the remote exec-file whenever a file is
 # loaded to gdb.
 #
 if { [info procs extended_gdbserver_gdb_file_cmd] == "" } {
index 0ec6dbd4909f1ca128cc2c42f2e87634eac51c24..af60ef2a41f044b1ba5ebdbc073af4f95dd955db 100644 (file)
 # To be addressed or set in your baseboard config file:
 #
 #   set_board_info gdb_protocol "remote"
-#      Unles you have a gdbserver that uses a different protocol...
+#      Unless you have a gdbserver that uses a different protocol...
 #
 #   set_board_info use_gdb_stub 1
 #      This tells the rest of the test suite not to do things
 #      like "run" which don't work well on remote targets.
 #
 #   set_board_info gdb,do_reload_on_run 1
-#      Unles you have a gdbserver that can handle multiple sessions.
+#      Unless you have a gdbserver that can handle multiple sessions.
 #
 #   set_board_info noargs 1
 #      Set this if the board does not support passing arguments to the
 #      Neither the traditional gdbserver nor the one in libremote
 #      can presently capture stdout and relay it to GDB via the
 #      'O' packet.  This means that tests involving printf will
-#      fail unles you set this varibale in your baseboard
+#      fail unless you set this variable in your baseboard
 #      configuration file.
 #
 #   set_board_info gdb,no_hardware_watchpoints 1
-#      Unles you have a gdbserver that supports hardware watchpoints.
+#      Unless you have a gdbserver that supports hardware watchpoints.
 #      FIXME: gdb should detect if the target doesn't support them,
 #      and fall back to using software watchpoints.
 #
index 38d69857f77a67c9ac9345e82efa8344fba3b238..891d430f071faa6f1a1add8788fdcbb71097f040 100644 (file)
@@ -183,7 +183,7 @@ with_test_prefix "with unlimited print elements" {
     gdb_test -nonl {output $$2[3]} $re \
        "output partially available Large_3d_Array row from history"
 
-    # These go straigth to the inferior.
+    # These go straight to the inferior.
     set re \
        [string_to_regexp \
             "((33, 34, 35, 36), (37, 38, 39, 40),\
index b128513226de6a882793e4c2bd4296d8d8e38a55..f3cb37dc6fe8366ab24d2f3d3004041af4f3fcae 100644 (file)
@@ -29,7 +29,7 @@ set MIFLAGS "-i=mi"
 mi_clean_restart $::testfile
 
 ###################################################
-# 2. Try catching conditionnal failed assertion.  #
+# 2. Try catching conditional failed assertion.  #
 ###################################################
 
 # Here is the scenario:
index f2c3fb1845c29420ea774554245fafeda1432cc9..f2566f4572a98d3d131cd9566abe8ee853b39b6c 100644 (file)
@@ -135,7 +135,7 @@ with_test_prefix "vex3" {
     disp_step_func "test_rip_vex3"
 
     # Confirm the instruction's expected side effects.  It should have
-    # modifed the 'var128' variable.
+    # modified the 'var128' variable.
     gdb_test "p /x (unsigned long long \[2\]) var128" \
        " = \\{0x1122334455667788, 0x0\\}" \
        "var128 has expected value after"
index 4c7664676d632c98b1d235a1a67ff6ef8e2eb990..52baf2a6b466e99425fde56786b1320b4df305ab 100644 (file)
@@ -66,7 +66,7 @@ proc_with_prefix check_x87_regs_around_init {} {
     # instruction.  Executing this instruction will enable the x87 unit,
     # causing the kernel to place the default values into all registers.
     # After this GDB will no longer supply the default values itself but
-    # will instread read the values out of the xsave buffer.
+    # will instead read the values out of the xsave buffer.
     gdb_test "stepi" "fwait" "step to FWAIT instruction"
     gdb_test "stepi" "nop" "step past FWAIT instruction"
 
index 8e724b7b028ef1c190e21f2d252a51d323b3707b..3fe3812c560a14b536badd7c7ca052fd8cdb5908 100644 (file)
@@ -118,7 +118,7 @@ fp_prologue_with_store:
 ; Verify that store of the non-callee saved registers is not part of prologue.
 ; Repeat this test for multiple registers, to check boundaries.  Also check
 ; with both ST and PUSH (aka ST.AW). We have to use multiple functions for
-; this, because GDB would stop analisys at the first instruction that is not
+; this, because GDB would stop analysis at the first instruction that is not
 ; part of prologue.
 
 .align 4
@@ -165,7 +165,7 @@ noncallee_saved_regs_lp_count:
        add     sp,sp,8
 
 ; BLINK is saved, but after an instruction that is not part of prologue.
-; Currently arc_analyze_prologue stops analisys at the first intstruction
+; Currently arc_analyze_prologue stops analysis at the first instruction
 ; that is not a part of prologue.  This might be not the best way, but it is
 ; what it is right now, so this test confirms this.
 
@@ -789,7 +789,7 @@ unstored_reg:
        add     sp,sp,12
        j       [blink]
 
-; Two stores at the same adddress.  GDB should report only the R14.
+; Two stores at the same address.  GDB should report only the R14.
 
 .align 4
 double_store:
index c5ca2688ec48fbb34fb2971b16f40b61ca12829b..1f58a8db7664cf62c1d2c936ab14f00b00b71720 100644 (file)
@@ -294,7 +294,7 @@ test_pop_pc_3_start:
 #endif
        push    {r7}
        push    {r1} /* Push the right address so that PC will get it.  */
-       /* Push the wrong address so r0-r7 will get the wrong a ddress.  If PC
+       /* Push the wrong address so r0-r7 will get the wrong address.  If PC
        is set from any of them, we can get a FAIL.  */
        push    {r2}
        push    {r2}
index d68c7c85e27997de6341e1c9a4615346a0dc9813..ca6c45ea368a3880d5330c2a5a4afed710b21d0c 100644 (file)
@@ -344,7 +344,7 @@ proc test_str_pc {} {
        "Breakpoint.*at.* file .*$srcfile, line.*" \
        "break test_str_pc_end"
 
-    # Set breakpoint on both lables pc_offset_right and pc_offset_wrong
+    # Set breakpoint on both labels pc_offset_right and pc_offset_wrong
     gdb_test "break *pc_offset_right" \
        "Breakpoint.*at.* file .*$srcfile, line.*" \
        "break pc_offset_right"
@@ -354,7 +354,7 @@ proc test_str_pc {} {
 
     gdb_continue_to_breakpoint "continue to test_str_pc" \
        ".*str.*pc\,.*\[sp, #-4\].*"
-    # If breakpoint on lable pc_offset_wrong is hit, that means the offset
+    # If breakpoint on label pc_offset_wrong is hit, that means the offset
     # computed in displaced stepping is different from offset computed
     # without displaced stepping.  Report a failure.
     gdb_continue_to_breakpoint "continue to pc_offset_right" \
index 9266688cae7595c3dcf6b61cf0bc07d9f8846a4e..cb2911f76551400bd07cf5c9b5abf96032d1a997 100644 (file)
@@ -101,7 +101,7 @@ asm(".text\n"
     "    ret\n");
 
 /* The purpose of this function is to verify that, during prologue
-   skip, GDB does not follow a jump at the beginnning of the "real"
+   skip, GDB does not follow a jump at the beginning of the "real"
    code.  */
 
 asm(".text\n"
index f8d485a08ded5bf6b76de33491c9197234ca3080..5941e3c8597f8fddc55c3e528f9fa09ecf2f99cd 100644 (file)
@@ -223,7 +223,7 @@ proc step_through { id funcs } {
 
     set msg "single-stepping through \"${func}\" ($id)"
 
-    # Arbitrarily limit the maximium number of steps made to avoid looping
+    # Arbitrarily limit the maximum number of steps made to avoid looping
     # indefinitely in the case something goes wrong, increase as (if)
     # necessary.
     set count 8
index f09bb0e6531ca9864cfa84bca74595b78599efd2..fa1156046b5740b8601768dcb674e9c61922d2f8 100644 (file)
@@ -276,7 +276,7 @@ func:
    represented in the machines native byte order when words are fetched 32-bits
    at a time.  The first .long is for the 32-bit prefix word and the second
    .long is for the 32-bit suffix word thus making the word order independent
-   of the machine Endianes.  The use of the .quad statement on Big Endian
+   of the machine Endianness.  The use of the .quad statement on Big Endian
    results in the disassembler fetching the 32-bit suffix before the 32-bit
    prefix word.  */
        .long 0x06000000        /* paddi r0,r1,0 */
index 1098b6acfc33d0034e3d9583c0a7477e249f9222..b82dda85f8ca1ba9eda971a06fb927674183e6c6 100644 (file)
@@ -17,7 +17,7 @@
 
 # Test access to special purpose registers PPR and DSCR.  The test
 # inferior writes to these registers, we check that GDB reads the same
-# values, then write to the registers trough GDB, step once, and check
+# values, then write to the registers through GDB, step once, and check
 # again if we read back the same values.
 
 require {istarget "powerpc*-*-linux*"}
index b543812a50a48e72b00005d9a3c41aedb0595c73..5cd3323eb96e49821d569fd6f71e393c889b7919 100644 (file)
@@ -27,7 +27,7 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable debug
 
 clean_restart $testfile
 
-# Check if the disassemble ouput is correct.
+# Check if the disassemble output is correct.
 gdb_test "x /i main+8" \
        "$hex <main\\+8>:\[ \t\]+bx\[ \t\]+lr" \
        "disassemble thumb instruction, 1st try"
index 10415fccd0400dd9eb991b16235ec0d28840bf6a..8a7c46ad701293a9f90612e32bebedc4df47ad12 100644 (file)
@@ -48,7 +48,7 @@ if { $xlen != 4 && $xlen != 8 } {
 # proceed if FLEN equals XLEN, otherwise we'd need more test XML
 # files.
 if { $flen != 1 && $flen != $xlen } {
-    unsupport "unknown xlen/flen combination"
+    unsupported "unknown xlen/flen combination"
     return
 }
 
index bee41cb533eea1d1c8c7d564fe8746290d5bf528..7d2979476286477f1400fbd8b8b0981c0e799f3f 100644 (file)
@@ -263,7 +263,7 @@ with_test_prefix "tests" {
                        }
                    }
 
-                   # Record what is the default endianess.  As an
+                   # Record what is the default endianness.  As an
                    # optimization, we'll skip testing the manual "set
                    # endian DEFAULT" case.
                    set test "show endian"
index d2d5a601b1eece50207ccd2db5eca986e7e9a17c..a0db77664c476c233926530956af47a6a4feb119 100644 (file)
@@ -77,7 +77,7 @@ proc is_argument_splitting_on {} {
 
 proc args_test { name arglist {re_esc_list {}} {re_no_esc_list {}} } {
 
-    # If either of the two regexp lists are not specificed then we can
+    # If either of the two regexp lists are not specified then we can
     # use an earlier argument value instead.
     #
     # For the first regexp list, if this is missing then we use the
index 3cb42e035bf3b72becc028e1261fe3ffc5f3f01d..2e7c608526c3d6c6628091c44dcc1d4d2376affa 100644 (file)
@@ -17,7 +17,7 @@
 
 # This file is part of the gdb testsuite
 #
-# tests for all the assignemnt operators
+# tests for all the assignment operators
 # with mixed types and with int type variables
 #
 
index a5a95b8b5a0a7b6974533d4fa616e77494491277..7fc19e8d104ef2f244793bf01c36f54d52a7f50d 100644 (file)
@@ -184,7 +184,7 @@ with_test_prefix "disconnect" {
     gdb_test "start" "Don't know how to run.*" "start no longer works"
 }
 
-# Reenable auto-connecting to the native target.  Plain "start" should
+# Re-enable auto-connecting to the native target.  Plain "start" should
 # start working again.
 gdb_test_no_output "set auto-connect-native-target on"
 
index d4e12f78d99e68987c8f586e175e410ec71dfbb9..6e28058e2f00d3a6e21549d475d589c600f3b5e3 100644 (file)
@@ -13,7 +13,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Tools which use the BFD library will output error messages of the
-# form "BFD: some messsage" when a problem with the file upon which it
+# form "BFD: some message" when a problem with the file upon which it
 # operating is found.  E.g. an actual message (modulo some shortening
 # of the pathname) from this test is:
 #
index b1ced340fc11f7eae0991716b22317f23ba7c21b..41f61996bbeafa32740e543c9bf0fcfde306491f 100644 (file)
@@ -202,7 +202,7 @@ proc test {dumper} {
        # very large values.  Since GDB uses a 64-bit off_t (when
        # possible) it shouldn't have this problem.  Assume that
        # things are going to work.  Without this assumption the test
-       # is skiped on systems (such as i386 GNU/Linux with patched
+       # is skipped on systems (such as i386 GNU/Linux with patched
        # kernel) which do pass.
        pass "check core size"
        set core_ok 1
index f6ca85027e4c0040847550f9bda62c204b118258..bec2df502ac1b8a248dcdfbe1c7f9b80d40c557d 100644 (file)
@@ -89,7 +89,7 @@ proc run_test { cond_eval access_type bpexpr nloc } {
     }
 }
 
-# If we're using a remote target then conditions could be evaulated
+# If we're using a remote target then conditions could be evaluated
 # locally on the host, or on the remote target.  Otherwise, conditions
 # are always evaluated locally.
 #
index dac54fadef1c2e2d3052e62a6a708d21b541c4c0..38c4d98303a7593ba442e474224d9e84d6b94c39 100644 (file)
@@ -184,9 +184,9 @@ proc test {always_inserted sw_watchpoint} {
        gdb_test "print \$commands_ran" " = void" \
            "breakpoint commands didn't run"
 
-       # Reenable the breakpoint, and check that it gets hit and accounted
+       # Re-enable the breakpoint, and check that it gets hit and accounted
        # for this time.
-       gdb_test "enable \$bpnum" "" "reenable breakpoint"
+       gdb_test "enable \$bpnum" "" "re-enable breakpoint"
 
        gdb_test "continue" "Breakpoint .*" \
            "stop at permanent breakpoint thrice"
index 0a954db8b0419b01c821d409bace079e8822674b..de9c9d791f15f240bbed82932cd693c868c25009 100644 (file)
@@ -17,7 +17,7 @@
 
 */
 
-/* Useful abreviations.  */
+/* Useful abbreviations.  */
 typedef void t;
 typedef char tc;
 typedef short ts;
index 7fbb60451522a12d74ec9867b575a328e1a6035a..9f9019058efcc2e65dc5d877144f927dded77edc 100644 (file)
@@ -88,7 +88,7 @@ proc start_scalars_test { type } {
 
 
 # Given N (0..25), return the corresponding alphabetic letter in lower
-# or upper case.  This is ment to be i18n proof.
+# or upper case.  This is meant to be i18n proof.
 
 proc i2a { n } {
     return [string range "abcdefghijklmnopqrstuvwxyz" $n $n]
@@ -168,7 +168,7 @@ proc test_scalar_returns { } {
     # Check that "return" works.
 
     # GDB must always force the return of a function that has
-    # a struct result.  Dependant on the ABI, it may, or may not be
+    # a struct result.  Dependent on the ABI, it may, or may not be
     # possible to store the return value in a register.
 
     # The relevant code looks like "L{n} = fun{n}()".  The test forces
index 3c62b2179d220bb3a71a4b088f7da1b512db0992..f2870c577f22b65abd61dd7b3cf36a6b50e6e591 100644 (file)
@@ -183,7 +183,7 @@ proc do_function_calls {prototypes} {
 
     # GDB currently screws up the passing of function parameters for
     # ABIs that use function descriptors.  Instead of passing the
-    # address of te function descriptor, GDB passes the address of the
+    # address of the function descriptor, GDB passes the address of the
     # function body.  This results in the called function treating the
     # first few instructions of the function proper as a descriptor
     # and attempting a jump through that (a totally random address).
index 7219d32e4cb3d6fb9f26f8b31e4a4a4afea17fe0..7811d1318c1bd87b7ec9c0c36ec989e47b19e671 100644 (file)
@@ -159,7 +159,7 @@ with_test_prefix "absolute path" {
 }
 
 with_test_prefix "relative path" {
-    # Generate a core file using relative a path.  We ned to work
+    # Generate a core file using relative a path.  We need to work
     # around the core_find proc a little here.  The core_find proc
     # creates a sub-directory using standard_output_file and runs the
     # test binary from inside that directory.
index 002f6354e7aeaddb8d047bbe1ed0e8f92df0a640..5660ce6171e44c144466af4679e8669732f22bb1 100644 (file)
@@ -503,7 +503,7 @@ gdb_test "output" "Argument required .expression to compute.*"
 
 #test overlay
 gdb_test "overlay" "List of \"overlay\" subcommands:.*"
-#test a non-existant overlay subcommand
+#test a non-existent overlay subcommand
 gdb_test "overlay on"     "Undefined overlay command.* Try \"help overlay\"."
 gdb_test_no_output "overlay manual" "overlay manual #1"
 gdb_test_no_output "overlay auto"
index c62d250d9cfda6d7e3a287bb98a10636f5631a23..5358fed7a82626b69c742720f211aba8e48dea37 100644 (file)
@@ -34,7 +34,7 @@ int do_vars()
     char      c = 'Q';
     int    *p_i = &i;
     float  *p_f = &f;
-    char   *p_c = "rubarb and fries";
+    char   *p_c = "rhubarb and fries";
 
     /* Need some code here to set breaks on.
      */
index f3062e1122ba667a2a34f1fbd19bf77c24c341a8..60922643d28b09ec01469ce7e0fe23e75408643e 100644 (file)
@@ -294,7 +294,7 @@ proc_with_prefix test_solib_unmap_events { } {
     # This test relies on finding the dynamic linker library, and is
     # currently written assuming Linux.
     if { ![istarget *-linux*] } {
-       unsupport "cannot find dynamic linker library on this target"
+       unsupported "cannot find dynamic linker library on this target"
        return
     }
 
index b20c0e8ca731d4c63d405145a372e9405bb89c4b..d89f5fa1956b2dcdcd22e08ccc9e3178514a074b 100644 (file)
@@ -15,7 +15,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Test inappropriate offseting of multiple sections with the same name.
+# Test inappropriate offsetting of multiple sections with the same name.
 # 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.
index 5f208644a3668076ffaddea4314d7d506a2ab9a8..82aca45ae3cf0ce042bd03177899d60319f6ed50 100644 (file)
@@ -395,7 +395,7 @@ proc test_ena_dis_br { what } {
     set p2 "fail"
 
     if { "$what" == "enable" } {
-       # Set varibale values for enable command.
+       # Set variable values for enable command.
        set oppos "disable"
        set oppos_res "n"
        set what_res "y"
index 8e5ac6de5420eb0e8ebb0fa22c366ec095733625..849ab64df74122ae688b00d2c47a5a8571090267 100644 (file)
@@ -19,7 +19,7 @@
 Define TestStrings, TestStringsH, and TestStringsW to test utf8, utf16,
 and utf32 strings respectively.
 To avoid compile errors due to old compiler mode, we don't use string
-literals.  The content of each array is the same as followings:
+literals.  The content of each array is the same as the following:
 
   const char TestStrings[] = {
       "ABCD"
index ba5ce80a53528d52a0b3dd8921627f14a4b78ac1..efa60bc29ff9b09cd738c3eebde9df1c0b7a8071 100644 (file)
@@ -227,7 +227,7 @@ if {!$ok} { setup_xfail "*-*-*" }
 gdb_test "print (void*) (~((long long)(unsigned long) -1) - 1)" \
        "warning: value truncated.*" "truncate (void*) 0xffffffff00000000 - 1"
 
-# String concatentation.
+# String concatenation.
 test_expr "print \"x\" \"y\"" "${::valnum_re} = \"xy\""
 test_expr "print \"x\" \"y\" \"z\"" "${::valnum_re} = \"xyz\""
 
index 7007e6879ef383c5055a637954ec74b2cb71dc88..f6699889ee9c8894908b4c90989f727c011ac495 100644 (file)
@@ -109,7 +109,7 @@ test_open (void)
   if (ret >= 0)
     close (ret);
   stop ();
-  /* Opening nonexistant file */
+  /* Opening nonexistent file */
   errno = 0;
   ret = open (NONEXISTENT, O_RDONLY);
   printf ("open 4: ret = %d, errno = %d %s\n", ret, errno,
index b68645e8bb646cb9a94aaf4d20f97f10597ea326..049611a8039732427e169643f2fe44754d355e9c 100644 (file)
@@ -68,7 +68,7 @@ gdb_test continue \
 
 gdb_test continue \
 "Continuing\\..*open 4:.*ENOENT$stop_msg" \
-"Opening nonexistant file returns ENOENT"
+"Opening nonexistent file returns ENOENT"
 
 gdb_test "continue" ".*" ""
 
@@ -137,7 +137,7 @@ gdb_test continue \
 
 gdb_test continue \
 "Continuing\\..*stat 4:.*ENOENT$stop_msg" \
-"Stat a nonexistant file returns ENOENT"
+"Stat a nonexistent file returns ENOENT"
 
 gdb_test continue \
 "Continuing\\..*fstat 1:.*OK$stop_msg" \
@@ -232,7 +232,7 @@ gdb_test continue \
 
 gdb_test continue \
 "Continuing\\..*rename 5:.*ENOENT$stop_msg" \
-"Renaming a nonexistant file returns ENOENT"
+"Renaming a nonexistent file returns ENOENT"
 
 gdb_test continue \
 "Continuing\\..*unlink 1:.*OK$stop_msg" \
@@ -253,7 +253,7 @@ gdb_test continue \
 
 gdb_test continue \
 "Continuing\\..*unlink 3:.*ENOENT$stop_msg" \
-"Unlinking a nonexistant file returns ENOENT"
+"Unlinking a nonexistent file returns ENOENT"
 
 gdb_test continue \
 "Continuing\\..*time 1:.*OK$stop_msg" \
index 973f4cf3f742f72a20959a19f575094eb4c0d14b..81f8990fd9ac1e72030a1fc392905417d8014c53 100644 (file)
@@ -17,7 +17,7 @@
 
 set allow_float_test [allow_float_test]
 
-# re-use the program from the "return2" test.
+# reuse the program from the "return2" test.
 if { [prepare_for_testing "failed to prepare" finish return2.c] } {
     return
 }
index 3d6e098abfdd4310adc121344461528cec449739..b5ae16253232dc31239fadafcae2fd47cda08d31 100644 (file)
@@ -95,7 +95,7 @@ gdb_test "backtrace" \
     ".*Required frame unwinder may have been disabled, see 'maint info frame-unwinders'.*" \
     "no suitable unwinders should be found"
 
-# Reenable all unwinders.
+# Re-enable all unwinders.
 gdb_test_no_output "maint frame-unwinder enable -all"
 check_unwinder_class "\\w+" "Y" \
     "all unwinders should be re-enabled"
index 6ed23921f23efdd1570cc28b6f42a7b0a1e72219..6557ddb1c2a652b6fb48855ff849abe78c845ebb 100644 (file)
@@ -47,7 +47,7 @@ if {![runto "$srcfile:$line"]} {
 # watched (myrec.x) gets updated.  This is the instruction where we
 # expect to receive a watchpoint notification when we do the "stepi"
 # below.  However, having the breakpoint at the same location as this
-# intruction can possibly interfere with our testcase, as stepping
+# instruction can possibly interfere with our testcase, as stepping
 # over the breakpoint in order to get past it may incorrectly lead
 # to the debugger missing the watchpoint hit.  This would be a bug
 # in GDB, but this is not the bug that we are trying to test here.
index 15fb2780e0f691ae677c53994734ac5991000240..fdb9a79a13a7983b39cdaf98aa76c9f3c6ac77ad 100644 (file)
@@ -46,7 +46,7 @@ if {![runto abort {allow-pending}]} {
 # By the nature of the bug, it could pass if the C compiler is not smart
 # enough to implement 'abort' as a noreturn function.  This is okay.
 # The real point is that users often put breakpoints on noreturn
-# functions such as 'abort' or some kind of exitting function, and those
+# functions such as 'abort' or some kind of exiting function, and those
 # breakpoints should work.
 
 gdb_test_multiple "backtrace" "backtrace from abort" {
index 9522d5f2f39b319ddb472be7742df1e968213013..38fa6dded4dbeae54624f1346423e04006107f7a 100644 (file)
@@ -145,7 +145,7 @@ proc test_value_history {} {
        "set value-history\[3\] using \$3"
 
     gdb_test "print \$\$"      "\\\$4 = 102" \
-       "print value-history\[MAX-1\] using inplicit index \$\$"
+       "print value-history\[MAX-1\] using implicit index \$\$"
 
     gdb_test "print \$\$"      "\\\$5 = 103" \
        "print value-history\[MAX-1\] again using implicit index \$\$"
index d6a50a9b6862d927e58e28ac2cf333348b0a76fc..e6389102ae359571a89746c447ddfffc975293e3 100644 (file)
@@ -240,7 +240,7 @@ proc misc_tests {resolver_attr resolver_debug final_debug} {
 
     if {!$resolver_debug && !$final_debug} {
        # Do the test that is supposed to succeed first, to make sure
-       # elf_gnu_ifunc_record_cache is empty.  This excercises PR28224.
+       # elf_gnu_ifunc_record_cache is empty.  This exercises PR28224.
        gdb_test "p (int) gnu_ifunc (3)" " = 4"
 
        gdb_test "p gnu_ifunc()" \
index 36724d1e9786fabbfa091c643fcb2626e6afe475..7f2e44ea678cf850906de1ed36082aa98a89357f 100644 (file)
@@ -46,7 +46,7 @@ if { ![runto_main] } {
     return
 }
 
-# Get endianess for the scalar->vector casts
+# Get endianness for the scalar->vector casts
 set endian [get_endianness]
 
 # Test printing of character vector types
index db0ab054e866cf7693eb1ab8bd4631cb36802306..209fd78524fcfb3b4e112fc13a7a4e696991260f 100644 (file)
@@ -266,7 +266,7 @@ if { $ret != 0 } {
     return
 }
 
-# The ouput of mktemp contains an end of line, remove it.
+# The output of mktemp contains an end of line, remove it.
 set cache_dir [string trimright $cache_dir \r\n]
 
 test_cache_disabled $cache_dir "before populate"
index b9512a597ab7d7cc1db71753eee27f97fbfda3e6..b273463619c75384b5e1a0b5433465eb795d76c8 100644 (file)
@@ -35,7 +35,7 @@
 #include <string.h>
 #include "attributes.h"
 
-/* Useful abreviations.  */
+/* Useful abbreviations.  */
 typedef char tc;
 typedef short ts;
 typedef int ti;
index 99d29624337942edc8cabe33a6a9ce0b63c14db7..01f3237d631a78ea17635fde116d86fabcfe47b4 100644 (file)
@@ -29,7 +29,7 @@ if { [build_executable "failed to prepare" ${binfile} "${srcfile}" \
 # call that will never return.  GDB should eventually timeout and stop
 # the inferior.
 #
-# When UNWIND is "off" the inferior wil be left in the frame where the
+# When UNWIND is "off" the inferior will be left in the frame where the
 # timeout occurs, otherwise, when UNWIND is "on", GDB should unwind
 # back to the frame where the inferior call was made.
 proc run_test { target_async target_non_stop non_stop unwind } {
index eacb93b292e7b6474ca433c59dabcb25dad87af5..21357c2f479df0d7ed9b4a1c74cbf2d79871fc00 100644 (file)
@@ -188,7 +188,7 @@ lappend test_desc_list $item
 # As with the previous test, the double quotes are lost when the
 # arguments are sent through gdbserver_start, as such, this test isn't
 # going to work when using the native-gdbserver board, hence we set
-# the second arguemnt to 'false'.
+# the second argument to 'false'.
 lappend test_desc_list [list "test three" \
                            false \
                            { "\&" "\<" "\#" "\^" "\>" "\$" "\`" } \
index a48a05ff0ee41e9f1d9807541f7eb35581bc43b5..7d16a2e5432fe5ecfa3fe44109c68290a700f8e6 100644 (file)
@@ -18,7 +18,7 @@
 #ifdef JIT_H
 #error "We don't include jit.h directly since we'd like the jit-reader unit  \
        tests to break if we make ABI incompatible changes to the structures \
-       re-declared here."
+       redeclared here."
 #endif
 
 #ifndef JIT_PROTOCOL_H
index 311f37a7c4c4f03bc26ef3e44304a91eee17815e..4e402459008da038131cafb41ab47573ccfa9ffa 100644 (file)
@@ -35,7 +35,7 @@ main ()
     {
       /* We open a file and move file pos from 0 to 1.  We set the checkpoint
         when pos is 0, and restart it when pos is 1.  This makes sure that
-        restarting the checkpoint excercises calling lseek in the
+        restarting the checkpoint exercises calling lseek in the
         inferior. */
 
       /* Open a file. */
index b75f9ba0bcffd134017a4645826f4dc59bac81b1..4cceedd97fa09db0c07fd3b026ef81a1663ba09c 100644 (file)
@@ -72,7 +72,7 @@ proc copy_and_update_source_file { dest value } {
 }
 
 # Make three copies of the single source file in the build directory
-# based source tree.  Two of the source files are modified slighly to
+# based source tree.  Two of the source files are modified slightly to
 # make the output of 'list' unique for each copy.
 file copy "$srcdir/$subdir/$srcfile" "$file_main"
 copy_and_update_source_file $file_a "3"
@@ -110,7 +110,7 @@ gdb_test "list foo.c:$linenum" \
         ".*" \
         "$last_linenum\\s+\[^\r\n\]+"]
 
-# Now list using a more acurate filename, we should only get a single
+# Now list using a more accurate filename, we should only get a single
 # result.
 gdb_test "list a/foo.c:$linenum" \
     [multi_line \
index 77161305e04dfbee3639fc999bea02fa6b5cbc3d..b200cff1ea6c01ee2eea119bcc6e5ee3d31016e7 100644 (file)
@@ -333,9 +333,9 @@ proc test_list_filename_and_function {} {
 
     gdb_test "list list0.c:foo" "Function \"foo\" not defined in .*list0.c" "list filename:function; wrong filename rejected"
 
-    gdb_test "list foobar.c:main" "No source file named foobar.c.|Location not found" "list filename:function; nonexistant file"
+    gdb_test "list foobar.c:main" "No source file named foobar.c.|Location not found" "list filename:function; nonexistent file"
 
-    gdb_test "list list0.h:foobar" "Function \"foobar\" not defined in \"list0.h\"." "list filename:function; nonexistant function"
+    gdb_test "list list0.h:foobar" "Function \"foobar\" not defined in \"list0.h\"." "list filename:function; nonexistent function"
 
 }
 
@@ -460,7 +460,7 @@ if {[set_listsize 10]} {
 # Follows tests that require execution.
 
 # Build source listing pattern based on a line range spec string.  The
-# range can be specificed as "START-END" indicating all lines in range
+# range can be specified as "START-END" indicating all lines in range
 # (inclusive); or just "LINE", indicating just that line.
 
 proc build_pattern { range_spec } {
@@ -490,7 +490,7 @@ proc build_pattern { range_spec } {
 # COMMAND is the actual list command, including arguments.  LISTSIZE1
 # and LISTSIZE2 are the listsizes set just before and after running
 # the program to the stop point.  COMMAND is issued twice.  The first
-# time, the lines specificed by LINERANGE1 are expected; the second
+# time, the lines specified by LINERANGE1 are expected; the second
 # time, the lines specified by LINERANGE2 are expected.
 
 proc test_list {command listsize1 listsize2 linerange1 linerange2} {
index edb61c2d7f488ff6327b0efceea08da87f29ce92..96624cc0bfb4e3a70e2aa8a9fc3b9aabcf948fea 100644 (file)
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Test the case where we have so many completions that we require the
-# completions hash table within GDB to grow.  Make sure that afte the
+# completions hash table within GDB to grow.  Make sure that after the
 # hash table has grown we try to add duplicate entries into the
 # hash. This checks that GDB doesn't corrupt the hash table when
 # resizing it.
 #
 # In this case we create a test with more functions than the default
-# number of entires in the completion hash table (which is 200), then
+# number of entries in the completion hash table (which is 200), then
 # complete on all function names.
 #
 # GDB will add all the function names from the DWARF, and then from
@@ -78,7 +78,7 @@ if {![runto_main]} {
 # We don't want to stop gathering completions too early.
 gdb_test_no_output "set max-completions unlimited"
 
-# Collect all possible completions, and check for duplictes.
+# Collect all possible completions, and check for duplicates.
 set completions [capture_command_output "complete break func_" ""]
 set duplicates 0
 foreach {-> name} [regexp -all -inline -line {^break (\w+\S*)} $completions] {
index a399111cd34fd3870e77bc23f7102b2516427b82..a007500fb66b43ac1f5fc912e3c25f54c5e71db4 100644 (file)
@@ -352,7 +352,7 @@ gdb_test_multiple "info mem" "mem 1 to 5 were enabled" {
 
 gdb_test "disable mem 7 8" \
     "No memory region number 7.*No memory region number 8." \
-    "disable non-existant regions"
+    "disable non-existent regions"
 
 #
 # Test delete
@@ -483,7 +483,7 @@ gdb_test_multiple "info mem" "mem 2-4 were deleted" {
 }
 
 gdb_test "delete mem 8" "No memory region number 8." \
-    "delete non-existant region"
+    "delete non-existent region"
 
 #
 # Test overlapping checking
index 864986677dda7d813425cc52b6d9537c73bf85c4..fb649b5644c2d9ec13afd814bd1a6b846606a031 100644 (file)
@@ -70,7 +70,7 @@ gdb_test "next " "more_code.*;" "continuing after dummy()"
 #        pass "illegal pointer assignment rejected"
 #      }
 #    -re ".*$gdb_prompt $" { fail "illegal pointer assignment rejected" }
-#    timeout           { fail "(timeout) ilegal pointer assignment rejected" }
+#    timeout           { fail "(timeout) illegal pointer assignment rejected" }
 #  }
 
 #send_gdb "print v_unsigned_int_pointer == v_double_pointer\n"
@@ -96,7 +96,7 @@ gdb_test "next " "more_code.*;" "continuing after dummy()"
 #send_gdb "print v_unsigned_int_pointer = v_double_pointer\n"
 #gdb_expect {
 #    -re ".*.*$gdb_prompt $" {
-#        pass "ilegal pointer assignment rejected"
+#        pass "illegal pointer assignment rejected"
 #      }
 #    -re ".*$gdb_prompt $" { fail "illegal pointer assignment rejected" }
 #    timeout           { fail "(timeout) illegal pointer assignment rejected" }
index 9f16d5db42c9d8f06be8c8aa283cabf871002644..39c5973642010e550375fa5ce747bcce56840ee7 100644 (file)
@@ -32,7 +32,7 @@
 # When the inferior continued, and eventually returned to the dummy
 # frame, it would try to execute instruction from the dummy frame
 # (which for most, or even all, targets, is on the stack), and then
-# experience undefined behaviuor, often a SIGSEGV.
+# experience undefined behaviour, often a SIGSEGV.
 
 standard_testfile .c
 
index 9d7e7fb504d86658a1968bef8f9fbba4a54b9a2f..ef0de211e252b6ce024d8d4c2e81799cb1acebaa 100644 (file)
@@ -32,7 +32,7 @@ with_test_prefix "set inf 2" {
     gdb_test_no_output "set remote exec-file prog2"
 }
 
-# Check that "show remote exec-file" diplays each inferior's
+# Check that "show remote exec-file" displays each inferior's
 # exec-file.
 
 with_test_prefix "show inf 1" {
index 0715f2924f5edd81927c9a2baf542b799e6b9cc2..18141f9347650ce6b2d853e0a800127b124282e8 100644 (file)
@@ -29,7 +29,7 @@ proc do_test {type} {
                "Return value type not available for selected stack frame\\.\r\nPlease use an explicit cast of the value to return\\." \
                "return from function with no debug info without a cast"
 
-           # Cast of the result to the proper width must be done explicitely.
+           # Cast of the result to the proper width must be done explicitly.
            gdb_test "return ($type) -1" "#0 .* main \\(.*" \
                "return from function with no debug info with a cast" \
                "Make selected stack frame return now\\? \\(y or n\\) " "y"
index 6e3d039aa0cf5df9c16c6af1c32b89366898859f..29480ac2f2c4ce8923fb205ed3d2935c4a33fa37 100644 (file)
@@ -47,7 +47,7 @@ proc_with_prefix test { non-stop threaded run-or-attach } {
        # The test doesn't work when the remote target uses the
        # synchronous remote protocol, because GDB can't kill the
        # remote inferior while it is running, when we "run" or
-       # "attach" again.  When aswering "yes" to the "Start it from
+       # "attach" again.  When answering "yes" to the "Start it from
        # the beginning?" question, we otherwise get:
        #
        #   Cannot execute this command while the target is running.  Use the
index 338e4a4b4467b89efff957888bb96baeb57f20b7..f0abe732b0c52f4cd60dfa74e0266d5a61e98726 100644 (file)
@@ -321,7 +321,7 @@ proc_with_prefix test_at_localscopes {} {
 
 # Note, we don't pass a binfile to clean_restart because we need to
 # avoid gdb_load here.  With remote targets, gdb_load connects to the
-# remote target, and we specificaly want the following tests to run
+# remote target, and we specifically want the following tests to run
 # before the program is started.
 clean_restart
 gdb_file_cmd $binfile
index 2f77438f3f50618bdb7c3fff51356c64b18f547c..d6188ceb912e8344844954996f8bc379b809926d 100644 (file)
@@ -40,7 +40,7 @@ gdb_test "list sep-proc.c:$location" \
         "list using location inside included file"
 
 # Try the same, but this time with a breakpoint.  We need to exit
-# GDB to make sure that we havn't loaded the full symbols yet when
+# GDB to make sure that we haven't loaded the full symbols yet when
 # we test the breakpoint insertion.
 clean_restart $testfile
 
index 6984e70354e40e30fb3ae80e3a1ad0cec8710753..fcc91d3a6e0d0de66a895c34551e65e1d5e9baba 100644 (file)
@@ -18,7 +18,7 @@
 #
 # It mimics how a bug with psymtab sharing was initially found:
 #
-#  1. Load the test file twice, such that the second objfile re-uses the
+#  1. Load the test file twice, such that the second objfile reuses the
 #     per_bfd object created for the first objfile.
 #  2. Run to some point where in the backtrace there is a frame for a
 #     function that's in a CU that's not yet read in.
@@ -33,7 +33,7 @@ if { [prepare_for_testing "failed to prepare" $testfile "$srcfile $srcfile2" \
     return
 }
 
-# Load $binfile a second time.  The second created objfile will re-use the
+# Load $binfile a second time.  The second created objfile will reuse the
 # partial symtabs created by the first one.
 if { [gdb_file_cmd $binfile] != 0 } {
     fail "file command failed"
index 8237b555d46e5072a9f5e0446717fccef550ad3c..c9f7d73f636ef7a773224c73d7be20a64ac882bb 100644 (file)
@@ -233,7 +233,7 @@ proc cont_out { name args } {
     gdb_test "continue" "Breakpoint.*pc(\r\n| *)=> [at_segv] .*" \
        "${name}; continue to breakpoint at fault"
 
-    # Now single step the faulted instrction at that breakpoint.
+    # Now single step the faulted instruction at that breakpoint.
     gdb_test "stepi" \
        "Program received signal ${signame}.*pc(\r\n| *)=> [at_segv] .*" \
        "${name}; stepi fault"
index 93cc5a0301b31ef14ab17070b1235c5ff151578d..eaf11908d03fcc96b4841eaa6188b7f70902d5f9 100644 (file)
@@ -87,7 +87,7 @@ gdb_test "break keeper"
 gdb_test "handle SIGSEGV" "SIGSEGV.*Yes.*Yes.*Yes.*Segmentation fault"
 gdb_test "handle SIGBUS" "SIGBUS.*Yes.*Yes.*Yes.*Bus error"
 
-# For the given signal type, check that: the SIGSEGV occures; a
+# For the given signal type, check that: the SIGSEGV occurs; a
 # backtrace from the SEGV works; the sigsegv is delivered; a backtrace
 # through the SEGV works.
 
index 9199216b051b08932705fabbd6713beb4f57f033..920a4ec851da58a6fdde09d275d4d9bca26b63ef 100644 (file)
@@ -69,7 +69,7 @@ proc validate_backtrace {} {
 validate_backtrace
 
 # Goes to handler using ENTER_CMD, runs IN_HANDLER while in the signal
-# hander, and then steps out of the signal handler using EXIT_CMD.
+# handler, and then steps out of the signal handler using EXIT_CMD.
 
 proc advance { enter_cmd in_handler_prefix in_handler exit_cmd } {
     global gdb_prompt inferior_exited_re
@@ -299,7 +299,7 @@ proc skip_to_handler { cmd } {
 
     with_test_prefix "$cmd to handler" {
        restart
-       # Use the real-time itimer, as otherwize the process never gets
+       # Use the real-time itimer, as otherwise the process never gets
        # enough time to expire the timer.
        gdb_test_no_output "set itimer = itimer_real"
 
@@ -337,7 +337,7 @@ proc skip_to_handler_entry { cmd } {
 
     with_test_prefix "$cmd to handler entry" {
        restart
-       # Use the real-time itimer, as otherwize the process never gets
+       # Use the real-time itimer, as otherwise the process never gets
        # enough time to expire the timer.
        gdb_test_no_output "set itimer = itimer_real"
 
@@ -395,7 +395,7 @@ proc skip_over_handler { cmd } {
 
     with_test_prefix "$cmd over handler" {
        restart
-       # Use the real-time itimer, as otherwize the process never gets
+       # Use the real-time itimer, as otherwise the process never gets
        # enough time to expire the timer.
        gdb_test_no_output "set itimer = itimer_real"
 
@@ -430,7 +430,7 @@ proc breakpoint_to_handler { displaced cmd } {
 
        gdb_test_no_output "set displaced-stepping $displaced"
 
-       # Use the real-time itimer, as otherwize the process never gets
+       # Use the real-time itimer, as otherwise the process never gets
        # enough time to expire the timer.
        gdb_test_no_output "set itimer = itimer_real"
 
@@ -484,7 +484,7 @@ proc breakpoint_to_handler_entry { displaced cmd } {
 
        gdb_test_no_output "set displaced-stepping $displaced"
 
-       # Use the real-time itimer, as otherwize the process never gets
+       # Use the real-time itimer, as otherwise the process never gets
        # enough time to expire the timer.
        gdb_test_no_output "set itimer = itimer_real"
 
@@ -545,7 +545,7 @@ proc breakpoint_over_handler { displaced cmd with_sw_watch no_handler } {
 
        gdb_test_no_output "set displaced-stepping $displaced"
 
-       # Use the real-time itimer, as otherwize the process never gets
+       # Use the real-time itimer, as otherwise the process never gets
        # enough time to expire the timer.
        gdb_test_no_output "set itimer = itimer_real"
 
index 71f9fd49316e4c07f2d35d1502a56f1890f9d4f5..04e13e8ec96932a9a14f31269f50965562452fb5 100644 (file)
@@ -53,7 +53,7 @@ gdb_test "source -v -s ./source-test.gdb" \
     "echo test source options.*" \
     "source -v -s"
 
-# Test sourcing a non-existant file, both when the source command
+# Test sourcing a non-existent file, both when the source command
 # comes from the a command entered at the GDB prompt, and when
 # it comes from a script being sourced.
 gdb_test "source for-sure-nonexistant-file" \
index 471ef26c2dd1f7d897fa4882bf08bec4abd61e8e..b157e2c13a7b22a9bec83723b90b51c5c9441184 100644 (file)
@@ -17,7 +17,7 @@ standard_testfile
 
 # Count the number of probes of TYPE (either 'stap' or 'dtrace'),
 # from provider matching PROVIDER, with a name matching NAME, and from
-# an objec file matching OBJECT.
+# an object file matching OBJECT.
 #
 # The OBJECT is optional, in which case all objects will be matched.
 #
index daca64699de811638c92c1477a1526bcbdc4e0dd..48ec5922773cfad213994461a143de84b7d0d07d 100644 (file)
@@ -86,7 +86,7 @@ proc build_hint_re { width with_style } {
     # the contents of MSG, first, we need to calculate the total length of
     # each line, as seen in GDB's output.  For this we need to get the sum
     # of the lengths of each TEXT part.  With this length we can then
-    # calculate the ammount of padding needed for a given terminal width.
+    # calculate the amount of padding needed for a given terminal width.
     #
     # The second use of MSG is to build the regexp that is used to actually
     # match GDB's output.  For this we use STYLE to add escape sequences to
index 1e64a69e4283e6bae4cb48eac92c53f8a2e6cb36..6d139f9abc4046500c20770cba4f862ce35f9dcf 100644 (file)
@@ -15,7 +15,7 @@
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
-/* Useful abreviations.  */
+/* Useful abbreviations.  */
 typedef void t;
 typedef char tc;
 typedef short ts;
index 514a6751b7528cc060b342a577445db37bf2cf2c..48b4eb29d21cb78dc3904746392bb0ae2bb8025c 100644 (file)
@@ -174,7 +174,7 @@ proc any { n } {
 }
 
 # Given N (0..25), return the corresponding alphabetic letter in lower
-# or upper case.  This is ment to be i18n proof.
+# or upper case.  This is meant to be i18n proof.
 
 proc i2a { n } {
     return [string range "abcdefghijklmnopqrstuvwxyz" $n $n]
@@ -271,7 +271,7 @@ proc test_struct_returns { n } {
     # Check that "return" works.
 
     # GDB must always force the return of a function that has
-    # a struct result.  Dependant on the ABI, it may, or may not be
+    # a struct result.  Dependent on the ABI, it may, or may not be
     # possible to store the return value in a register.
 
     # The relevant code looks like "L{n} = fun{n}()".  The test forces
index 8b9512e1e4f72e8d52e509ac2ec3eecf3701eb7d..8a49d1c5973c88f70bf4b6010d6dd1178c78d3f3 100644 (file)
@@ -861,7 +861,7 @@ proc previous_line_is_ok { str } {
 
     # Create a copy of STR with all the '\033' characters removed.
     # Then compare string lengths to get a count of the '\033'
-    # charactes present in STR.
+    # characters present in STR.
     regsub -all "\033" $str {} stripped
     set count [expr {[string length $str] - [string length $stripped]}]
 
index 621ca47c9622a121a0dbf65e876bb7b7c2bb62d4..2d902da635200bad7a959c4cd5aef2976afc0038 100644 (file)
@@ -36,7 +36,7 @@ standard_testfile main.c
 # sysroot.
 #
 # Start GDB, set the sysroot, and then load the executable, ensure GDB
-# finds the debug information, which must have happened by lookin in
+# finds the debug information, which must have happened by looking in
 # the sysroot.
 proc_with_prefix lookup_via_build_id {} {
     set filename ${::binfile}_1
@@ -105,7 +105,7 @@ proc_with_prefix lookup_via_build_id {} {
 #
 # Copy the executable into the sysroot and then start GDB, set the
 # sysroot, and load the executable.  Check that GDB finds the debug
-# information, which must have happened by lookin in the sysroot.
+# information, which must have happened by looking in the sysroot.
 proc_with_prefix lookup_via_debuglink {} {
     set filename ${::binfile}_2
     if { [build_executable "build exec" ${filename} $::srcfile \
index c1cb461496b86b7102654feb51ab52add58209ee..313843e3626100d2acdd2c36de51ea428605e62d 100644 (file)
@@ -139,7 +139,7 @@ with_test_prefix "redirect debugging" {
     gdb_test "help" "List of classes of commands:.*"
 }
 
-with_test_prefix "redirect logging and debuging" {
+with_test_prefix "redirect logging and debugging" {
     gdb_test_no_output "set logging redirect on"
     gdb_test_no_output "set logging debugredirect on"
     gdb_test "set logging enabled on" \
index 86909aa6dc41e0b1f7cfed96771b38f2f49dfa7f..0c1b7ec0dcae1603d8e29d7ee67026a50775ea16 100644 (file)
@@ -118,7 +118,7 @@ Dwarf::assemble $asm_file {
        include_dir "${srcdir}/${subdir}"
        file_name "$srcfile" 1
 
-       # Generate a line table program.  This mimicks clang-13's behavior
+       # Generate a line table program.  This mimics clang-13's behavior
        # of adding some !is_stmt at the end of a loop line, making until
        # not work properly.
        program {
index 3f853b51527fef627496a8a79688ca3f5cbfde02..4f8a0d54cb28a2aa547260c4456d251e6d17dc89 100644 (file)
@@ -194,7 +194,7 @@ proc valid_addr_p {cmd offset width} {
     return 1
 }
 
-# Watch WIDTH bytes at BASE + OFFSET.  CMD specifices the specific
+# Watch WIDTH bytes at BASE + OFFSET.  CMD specifies the specific
 # type of watchpoint to use.  If CMD is "hbreak", WIDTH is ignored.
 # The HW_WP_P flag tells us if hardware watchpoints are enabled or
 # not.
index 302ed900db3e57b299d82c810105bbd51e0e9c69..7375994b11a29fc002a388d1e0dd2ada07977c72 100644 (file)
@@ -84,7 +84,7 @@ read_size8twice (void)
 
   /* Setting a breakpoint on an instruction after an instruction triggering a
      watchpoint makes it ambiguous which one will be reported.
-     Insert a dummy instruction inbetween to make sure the watchpoint gets
+     Insert a dummy instruction in between to make sure the watchpoint gets
      reported.  */
   volatile_dummy = 1;
 
index e19a5c189c50fcb03b29c38329f679f329d8e5f8..9dea7d0e3d46f4770bccfa0ce87f37fb66ffd4a8 100644 (file)
@@ -103,7 +103,7 @@ foreach_with_prefix wpcount {4 7} {
     for {set wpoffset 1} {$wpoffset <= $wpcount} {incr wpoffset} {
        set test "$rwatch data.u.size1\[$wpoffset\]"
        set wpnum ""
-       # Initialize the result incase the test fails.
+       # Initialize the result in case the test fails.
        set wpoffset_to_wpnum($wpoffset) 0
        gdb_test_multiple $test $test {
            -re "$rwatch_exp (${::decimal}): .*\r\n$gdb_prompt $" {
index 46eec592402d133cc27d34717d5c64eda610821f..741e7e441bf79c5d8b6f6a5e5c41ea2f168a7614 100644 (file)
@@ -613,7 +613,7 @@ proc test_disable_enable_software_watchpoint {} {
     gdb_test {watch $pc} "^(?:Hardware w|W)atchpoint $::decimal: .pc"
 
     gdb_test_no_output "disable \$bpnum" "disable watchpoint `\$pc'"
-    gdb_test_no_output "enable \$bpnum" "reenable watchpoint `\$pc'"
+    gdb_test_no_output "enable \$bpnum" "re-enable watchpoint `\$pc'"
 
     gdb_test "info watchpoint \$bpnum" \
        ".*watchpoint\[ \t\]+keep\[ \t\]+y\[ \t\]+.pc.*" \
index 815c0e6a485feab93b6c575b9f1617545c8d9290..4649e7bf38be530f461a51d355cefea25479d17a 100644 (file)
@@ -13,7 +13,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Test callling a method on a variable that has been put in a
+# Test calling a method on a variable that has been put in a
 # register.
 
 require allow_cplus_tests
index c9646755f0ac87509cbb53c7ccbc9100de8eb7cf..31b4c70cc42d0b74fc901b9f0ddcec7293ef80cc 100644 (file)
@@ -116,7 +116,7 @@ proc get_functions {cmd} {
 
 # Some convenience variables for this test
 set DEC {[0-9]}; # a decimal number
-set HEX {[0-9a-fA-F]}; # a hexidecimal number
+set HEX {[0-9a-fA-F]}; # a hexadecimal number
 set CONVAR "\\\$$DEC+"; # convenience variable regexp
 set ADDR "0x$HEX+"; # address
 
index 36ab2f6596974f43c9201e8f9a9b47a9e3cf51ec..2219626af2bfc2ab0c229e50a029b09045cf15c1 100644 (file)
@@ -131,7 +131,7 @@ gdb_test "info break" [make_info_breakpoint_reply_re y y y y y y] \
 # Check that disabling an invalid breakpoint location range does not
 # cause unexpected behavior.
 gdb_test "disable 2.6-7" "Bad breakpoint location number '6'" \
-    "disable an unvalid location breakpoint range"
+    "disable an invalid location breakpoint range"
 
 gdb_test "info break" [make_info_breakpoint_reply_re y y y y y y] \
     "breakpoint info disable 2.6-7"
index 88a847b3ab722d1b47ddded61f08b1d681c90427..9da06942e498f6bcf8566fe8bd68c11bd054ab67 100644 (file)
@@ -16,7 +16,7 @@
 # "catch catch" catchpoint ended up with multiple locations.  This
 # testcase exercises that scenario by building the binary with
 # -static-libgcc/-static-libstdc++ and a shared library that depends
-# on the libstc++.so DSO (which is how GDB was built and revealed the
+# on the libstdc++.so DSO (which is how GDB was built and revealed the
 # bug), and vice versa.
 
 require allow_shlib_tests
index a60412856b1f524c2f23b67af1bfd6f40fb117f6..ca9fd7b911ecf7beb4e107ec4248290d8ce9267a 100644 (file)
@@ -113,7 +113,7 @@ set c_scopes_list {
     {"free_inline_func"                        "FIF"           {= \{void \(void\)\} $hex <free_inline_func>}}
 }
 
-# A list of all the static varibles defined in each scope.  The first
+# A list of all the static variables defined in each scope.  The first
 # column is the name of the variable, without the prefix, and the
 # second column is a regex matching what printing the variable should
 # output.
index 9806bb6d5c89a379609eeb5f741168b1d9f64897..88cb23a64a20f4bd8070358529d96824e21f4f82 100644 (file)
@@ -249,7 +249,7 @@ proc node_result {result_var id limit parent_list indent_lvl log} {
 
 # Test nested type definitions.  LIMIT specifies how many nested levels
 # of definitions to test.  If LOG is true, output the tree to the log in
-# a human-readable format mimicing the source code.
+# a human-readable format mimicking the source code.
 #
 # Only test when not logging.  Generating source code usable by the
 # test is not quite the same as how GDB outputs it.
index d9b31f1dd5cb2fd5645fce73b21e77e20ccfcfcf..8e54f1eaf5f284e5e62994837e4e013b5c53ec21 100644 (file)
@@ -15,7 +15,7 @@ dummy ()
 }
 
 /* 1. A standard conversion sequence is better than a user-defined sequence
-      which is better than an elipses conversion sequence.  */
+      which is better than an ellipses conversion sequence.  */
 
 class A{};
 class B: public A {public: operator int (){ return 1;}};
index 66bc4b356582f017f42f25cfb885f631d1ca2f4f..09e064d37d208bf5e0c8b39750c2cfd5f0ccdef9 100644 (file)
@@ -236,12 +236,12 @@ proc generate_container_class { states } {
     template int cbv_container<$classname> ($classname arg);"
 }
 
-# Generate useful statements that use a class in the debugee program
+# Generate useful statements that use a class in the debuggee program
 
 proc generate_stmts { classprefix states {cbvfun "cbv"}} {
     set classname "${classprefix}_[join $states _]"
 
-    # Having an explicit call to the cbv function in the debugee program
+    # Having an explicit call to the cbv function in the debuggee program
     # ensures that the compiler will emit necessary function in the binary.
     if {[is_copy_constructible $states]} {
        set cbvcall "$cbvfun<$classname> (${classname}_var);\n"
@@ -252,7 +252,7 @@ proc generate_stmts { classprefix states {cbvfun "cbv"}} {
     return "$cbvcall"
 }
 
-# Generate the complete debugee program
+# Generate the complete debuggee program
 
 proc generate_program { classes stmts } {
     global ADDED
index 7ab795d0115df91cae7e63478b0bbc10bb3629af..37782dde42680e389f3b2f63bcf838f6723518be 100644 (file)
@@ -82,7 +82,7 @@ foreach test $methods {
     set result ".*// [string_to_regexp $expected]"
 
     # Test whether the function/method can be "list"ed
-    # with the filename pre-pended.
+    # with the filename prepended.
     if {[string compare $test "xxx::${ans}::A::func"] == 0
        && !$have_gcc_45682_fixed} {
        setup_xfail gcc/45682 "*-*-*"
index 530587ac775d5b9d4109960610596774fae0256c..3081ad44654bffc0958257a9295c39f7dba9f800 100644 (file)
@@ -58,7 +58,7 @@ gdb_test "print/x b->mA" " = 0xaaaaaaaa"
 gdb_test "print rtti_data" " = .*, data = 1\}"
 
 # Printing a pointer into a virtual base of a larger object used to do
-# pointer adjusment directly into the value being printed, in-place
+# pointer adjustment directly into the value being printed, in-place
 # (and did it wrong, too).  Print the pointer, and then access the
 # value history to check the pointer value is not changed.  If it had
 # been changed, then we'd not be able to find the real type anymore.
index e70023ce885dc21d98ff6eeb18d18a37d8753ed5..31f97520500dd56e3292cdfde59ada9dddb0a128 100644 (file)
@@ -77,7 +77,7 @@ proc do_test_wide_char {lang char16_exp char32_exp wchar_exp} {
            "char32_t is typedef"
     }
 
-    # wchar_t is a disctinct built-in type in C++03+.
+    # wchar_t is a distinct built-in type in C++03+.
     if {$lang != "c"} {
        gdb_test "ptype $wchar_exp" "type = wchar_t" \
            "wchar_t is distinct"
index 6eead5bc7a2d56c35a9be297cc40751cb696fc8c..9e62c2f48bcae049c743074486451102953daad5 100644 (file)
@@ -16,7 +16,7 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 /* This C file provides some global variables laid out in a way
-   that mimicks what the GNAT Ada compiler calls "fat pointers".
+   that mimics what the GNAT Ada compiler calls "fat pointers".
    These fat pointers are the memory representation used by
    the compiler to handle dynamic arrays.
 
index e203c41bb13d1c570d10e5a6fb255113a47ea9c4..e24e7c35d767faa8b24234d7ac2ebae0f5e70a06 100644 (file)
@@ -17,7 +17,7 @@
 
 /* This tests that gdb can read compressed sections.  The contents
    are the same as dw2-basic.S, but the .debug_abbrev section has been
-   comrpessed using zlib.  */
+   compressed using zlib.  */
 
 /* Dummy function to provide debug information for.  */
 
index 5c6ec7a2d4ec6ba71b764c7ea565ceae7d3f7a9d..6992e9911c892f13224cdbdf68d3c1c2725c226c 100644 (file)
@@ -143,7 +143,7 @@ proc write_asm_file { asm_file dwarf_version func_ranges entry_pc } {
     }
 }
 
-# Gobal used to give each generated binary a unique name.
+# Global used to give each generated binary a unique name.
 set test_id 0
 
 proc run_test { dwarf_version empty_loc entry_pc_type } {
index 9a1f5e101e7a4de60042e1dbb584043b252af2aa..d386614edb5192830678c426391f08a87d30b12c 100644 (file)
@@ -14,7 +14,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 # Test different ways in which DW_AT_entry_pc can be expressed in the
-# DWARF.  Also test with DWARF-4 and DWARF-5.  See the individule test
+# DWARF.  Also test with DWARF-4 and DWARF-5.  See the individual test
 # procs below precise details of what DW_AT_entry_pc forms are tested.
 
 load_lib dwarf.exp
index 481dfbdd13400badef9f981fa60cc39e480e945f..f2a5e7a54fa142d6f7c27ad83aa71f892ae064de 100644 (file)
@@ -509,7 +509,7 @@ proc check_for_block_ranges_2 {} {
        "block for foo has expected content"
 }
 
-# Buidl ASM_FILE, along with the global SRCFILE into an executable called
+# Build ASM_FILE, along with the global SRCFILE into an executable called
 # TESTFILE.  Place a breakpoint in 'foo', run to the breakpoint, and use
 # BLOCK_CHECK_FUNC to ensure the block for 'foo' is correct.
 #
index c76864f125d5508023d7cab4c9d62051e7225ed1..951434ba7b2ecd3559213b66c2baf7aa86090ea7 100644 (file)
@@ -28,7 +28,7 @@
 # | 7    | 1    | END  | Y    |        |        |
 # |------|------|------|------|--------|--------|
 #
-# Places a brekpoint at file 2, line 22.  Previously GDB would discard
+# Places a breakpoint at file 2, line 22.  Previously GDB would discard
 # the line table entry for this line due to switching files for the
 # file 1, line 18 non-statement line.  After patching however, GDB now
 # discards the file 1, line 18 entry instead, and the breakpoint at
@@ -43,7 +43,7 @@
 #
 # Range 'A' is a hypothetical case of how the compiler might choose to
 # represent this range, this has never been seen in the wild, but is
-# an improved debug experiece over range 'B'.  However, if we ever run
+# an improved debug experience over range 'B'.  However, if we ever run
 # in to the situation where GDB can support the range 'A' test, or
 # support some real DWARF seen in the wild, then the range 'A' case
 # should be dropped in favour of supporting real world cases.  This is
index d8e8c059147699da1ce7f61d5a082be3814c9a03..b3a4176a665d4782b54fde41cf54df5593e0c159 100644 (file)
@@ -28,7 +28,7 @@
 # |------|------|------|------|--------|
 #
 #
-# Place the first brekpoint at file 2, line 22 and a second breakpoint
+# Place the first breakpoint at file 2, line 22 and a second breakpoint
 # at file 1, line 19.  A third breakpoint is placed at file 1, line
 # 18, but as this line table entry will have been discarded[1] the
 # third breakpoint will actually be placed at the same location as the
@@ -178,6 +178,6 @@ gdb_test "info breakpoints" \
     "check for breakpoint at ${srcfile3}"
 
 # Line table entry for line 18 will have been discarded, so this
-# brekpoint will be at the same location as line 19.
+# breakpoint will be at the same location as line 19.
 gdb_test "break ${srcfile3}:18" \
     "Note: breakpoint $decimal also set at pc $hex.*"
index 0c07637299ed1d80403ac8e86d30e0e5c212fcc6..33fe0a59b8c06ca81dd73690b13b95c76c041e7c 100644 (file)
@@ -20,7 +20,7 @@
    information describes a parameter as being in a register but a more
    recent (inner) frame marks the register as being undefined.
 
-   This can arrise if the dwarf producer has the location of a parameter in
+   This can arise if the dwarf producer has the location of a parameter in
    a callee clobbered register at the time of a call.  Older versions of
    gcc used to do this, newer versions seem to avoid this issue.
 
index d3bafd4abf166ae137531d4f022c7580c2871e34..c0b1265a8dc30c6c453e65a6727cf70239fb0321 100644 (file)
@@ -60,7 +60,7 @@ Dwarf::assemble $asm_file {
 
        # Generate the following line table:
        #
-       # Index | Address | Symtab | Line | Statment
+       # Index | Address | Symtab | Line | Statement
        # ------|---------|--------|------------
        #  0    |  A1     | F1     | 101  | X
        #  1    |  A2     | F2     | 201  | X
index 9ab8e1c953a9817daa7933ec94d12ee6d3caec9e..02074b1b33cf12f179963e4fc65b50725c1c073d 100644 (file)
@@ -57,8 +57,8 @@ set asm_file [standard_output_file "$::testfile-dw.S"]
 Dwarf::assemble $asm_file {
     global srcfile
 
-    # Create local varibles like BAR_SRC_* containing the line number
-    # for the souce lines of 'foo' and 'bar' and 'baz'.  These will be
+    # Create local variables like BAR_SRC_* containing the line number
+    # for the source lines of 'foo' and 'bar' and 'baz'.  These will be
     # referenced in the generated DWARF.
     for { set i 1 } { $i <= 2 } { incr i } {
        set bar_src_$i [gdb_get_line_number "bar line $i"]
index 33697ae9e4a31b4fec22bfe70f459e01ef67d76a..70619ae5b69dd6a7ec08b38b0028b21914708f0c 100644 (file)
@@ -54,8 +54,8 @@ set asm_file [standard_output_file "$::testfile-dw.S"]
 Dwarf::assemble $asm_file {
     global srcfile
 
-    # Create local varibles BAR_SRC_* containing the line number for
-    # the four souce lines of 'foo' and 'bar'.  These will be
+    # Create local variables BAR_SRC_* containing the line number for
+    # the four source lines of 'foo' and 'bar'.  These will be
     # referenced in the generated DWARF.
     for { set i 1 } { $i <= 4 } { incr i } {
        set bar_src_$i [gdb_get_line_number "bar line $i"]
index b3bb1ed0f8c92cb64b3127d5d2ac59e5c7fc4fbd..e9bed9ba10c41092edba0e34839ad7aa1ea1fb51 100644 (file)
@@ -13,7 +13,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# Test that GDB can support accesing fields of a structure if the
+# Test that GDB can support accessing fields of a structure if the
 # fields have non-standard names.  Specifically, if the names are
 # reserved C type names like 'double', 'float', 'int', etc.
 #
index ee35fdf0f058d9baf57fa37bf0ead8d0be2fc333..1f13550859363ad4e8303601b79f236e55725eb6 100644 (file)
@@ -20,7 +20,7 @@ require dwarf2_support
 
 standard_testfile main.c -dw.S
 
-# We need to know the endianess in order
+# We need to know the endianness in order
 # to write some of the debugging info we'd like to generate.
 if {[prepare_for_testing "failed to prepare for endianness test" ${testfile} ${srcfile}]} {
     return
index 980505aaa89fde9e552d0010b2cc38d1586e0911..4aa706e70f22206340726b334ad37f1fb9722146 100644 (file)
@@ -78,7 +78,7 @@ program test
   call test_associated (associated (a_real_p, a_real))
 
   ! Setup for final tests, these are performed at the print line
-  ! below.  These final tests are all error conditon checks,
+  ! below.  These final tests are all error condition checks,
   ! i.e. things that can't be compiled into Fortran.
   array_1d_p => array_1d
 
index 01c7fb23a6bc8d7456b978efa4d7b128e5f89c61..ba221cc503857c1fd1ba51b404cea98f6f484159 100644 (file)
@@ -36,7 +36,7 @@ gdb_continue_to_breakpoint "Break Here"
 # If this first test fails then the Fortran compiler being used uses
 # different names, or maybe a completely different approach, for
 # representing class like structures.  The following tests are
-# cetainly going to fail.
+# certainly going to fail.
 # Hence the test case is modified for flang.
 if { [test_compiler_info {flang-*} f90] } {
     gdb_test "print this" " = \\( a = 0, b = \\(\\(1, 2, 3\\) \\(4, 5, 6\\)\\) \\)"
index bac328cac0c8b6746b4dfa0ce3f6e0556cbcca7b..f50f4c070b21b3d39fe62ced81cd88aff1565124 100644 (file)
@@ -158,7 +158,7 @@ proc test_value_history {} {
        "Set value-history\[3\] using \$3"
 
     gdb_test "print \$\$"      "\\\$4 = 102" \
-       "Print value-history\[MAX-1\] using inplicit index \$\$"
+       "Print value-history\[MAX-1\] using implicit index \$\$"
 
     gdb_test "print \$\$"      "\\\$5 = 103" \
        "Print value-history\[MAX-1\] again using implicit index \$\$"
index 6cd5d0025276ae77ee43bb1d9e54658ffa2eac70..c6368d1fdaef6f366feb6f8770aa21ea21cc7954 100644 (file)
@@ -79,7 +79,7 @@ while { $test_count < 600 } {
            }
            -re -wrap "SIZE can only be applied to arrays" {
                # Because of ifort's DWARF pointer representation we need to
-               # aditionally de-reference Fortran pointers.
+               # additionally de-reference Fortran pointers.
                regsub -all "\\(" $command "\(\*" command_deref
                gdb_test "p $command_deref" " = $answer"
                pass $gdb_test_name
@@ -101,7 +101,7 @@ foreach var {array_1d_p array_2d_p allocatable_array_1d \
        }
        -re -wrap "SIZE can only be applied to arrays" {
            # Because of ifort's DWARF pointer representation we need to
-           # aditionally de-reference Fortran pointers.
+           # additionally de-reference Fortran pointers.
            gdb_test "p size (*$var, 3)" \
                "DIM argument to SIZE must be between 1 and \[1-2\]"
            pass $gdb_test_name
@@ -135,7 +135,7 @@ foreach var {array_1d_p array_2d_p allocatable_array_1d \
        }
        -re -wrap "SIZE can only be applied to arrays" {
            # Because of ifort's DWARF pointer representation we need to
-           # aditionally de-reference Fortran pointers.
+           # additionally de-reference Fortran pointers.
            gdb_test "p size (*$var)" \
                "Attempt to take contents of a not associated pointer\."
            pass $gdb_test_name
index 4cd17d98fd0bf0a0f291bde1da8d43c8311e7cd9..c5807a3d3a693190d237dc75cee4d4a06cdd6831 100644 (file)
@@ -64,7 +64,7 @@ gdb_test "print twov" " = \\\( ivla1 = \\\(\\\(\\\(1, 1, 1, 1, 1\\\)\
  \\\(1, 1, 321, 1, 1\\\)\
  \\\(1, 1, 1, 1, 1\\\) .*"
 
-# Check type with attribute at beginn of type
+# Check type with attribute at begin of type
 gdb_breakpoint [gdb_get_line_number "threev-filled"]
 gdb_continue_to_breakpoint "threev-filled"
 gdb_test "print threev%ivla(1)" " = 1"
index 145ea4b65b9fccfd8753bb92cd1f9f09d59cdaac..3bc64612be78e218b7dfb645a4d396368a36ceff 100644 (file)
@@ -43,7 +43,7 @@ gdb_test "print array2" " = \\( *\\( *\\( *30, *3, *3,\[()3, .\]*\\)" \
 gdb_test "print array2(2,1,1)=20" " = 20" \
   "set array(2,2,2) to 20 in subroutine"
 gdb_test "print array2" " = \\( *\\( *\\( *30, *20, *3,\[()3, .\]*\\)" \
-  "print array2 in foo after it was mofified in debugger"
+  "print array2 in foo after it was modified in debugger"
 
 gdb_test "finish" \
   ".*(foo\\\(sub_arr1\\\(5:10, 5:10\\\), sub_arr2\\\(10:15,10:15,10:15\\\)\\\)|foo \\\(array1=..., array2=...\\\).*)" \
index 2c76bd03c0492617b80a00864b0dfa39b4443ce9..c9e5ac9b817d678c33de68e3e3e8c81c8e7cb2fe 100644 (file)
@@ -53,7 +53,7 @@ gdb_test "print array2" " = \\( *\\( *\\( *30, *3, *3,\[()3, .\]*\\)" \
 gdb_test "print array2(2,1,1)=20" " = 20" \
   "set array(2,2,2) to 20 in subroutine (passed fixed array)"
 gdb_test "print array2" " = \\( *\\( *\\( *30, *20, *3,\[()3, .\]*\\)" \
-  "print array2 in foo after it was mofified in debugger (passed fixed array)"
+  "print array2 in foo after it was modified in debugger (passed fixed array)"
 
 
 # Try to access values from a fixed sub-array handled as VLA in subroutine.
@@ -73,7 +73,7 @@ gdb_test "print array2" " = \\( *\\( *\\( *30, *3, *3,\[()3, .\]*\\)" \
 gdb_test "print array2(2,1,1)=20" " = 20" \
   "set array(2,2,2) to 20 in subroutine, passed sub-array"
 gdb_test "print array2" " = \\( *\\( *\\( *30, *20, *3,\[()3, .\]*\\)" \
-  "print array2 in foo after it was mofified in debugger, passed sub-array"
+  "print array2 in foo after it was modified in debugger, passed sub-array"
 
 
 # Try to access values from a VLA passed to subroutine.
@@ -93,4 +93,4 @@ gdb_test "print array2" " = \\( *\\( *\\( *30, *3, *3,\[()3, .\]*\\)" \
 gdb_test "print array2(2,1,1)=20" " = 20" \
   "set array(2,2,2) to 20 in subroutine, passed vla"
 gdb_test "print array2" " = \\( *\\( *\\( *30, *20, *3,\[()3, .\]*\\)" \
-  "print array2 in foo after it was mofified in debugger, passed vla"
+  "print array2 in foo after it was modified in debugger, passed vla"
index 2382120b3161ace7a74a4ce6c62b8099f42bfc5d..ef309f146fe7327dc0f67144d3b4e905989f85dc 100644 (file)
@@ -112,7 +112,7 @@ gdb_test "print pvla(5, 45, 20)" \
   "print pvla(5, 45, 20) after deassociated"
 gdb_test "print pvla(7, 45, 14)" \
   "no such vector element \\\(vector not associated\\\)" \
-  "print pvla(7, 45, 14) after dissasociated"
+  "print pvla(7, 45, 14) after disassociated"
 gdb_test "print pvla" " = <not associated>" \
   "print vla1 after deassociated"
 
index ccf74d3863d6df6269ed18af286b453e03b96907..b5d88e6a190ce30be9ed41c1aaa0fe4715ebcc47 100644 (file)
@@ -220,7 +220,7 @@ namespace eval $testfile {
            }
        }
 
-       set tst "complete non-existant function name"
+       set tst "complete non-existent function name"
        send_gdb "break -function foo\t"
        gdb_test_multiple "" $tst {
            -re "break -function foo\\\x07" {
@@ -279,7 +279,7 @@ namespace eval $testfile {
            }
        }
 
-       set tst "complete non-existant file name"
+       set tst "complete non-existent file name"
        send_gdb "break -source foo\t"
        gdb_test_multiple "" $tst {
            -re "break -source foo" {
@@ -319,7 +319,7 @@ namespace eval $testfile {
            }
        }
 
-       set tst "complete filename and non-existant function name"
+       set tst "complete filename and non-existent function name"
        send_gdb "break -sou 3explicit.c -fun foo\t"
        gdb_test_multiple "" $tst {
            -re "break -sou 3explicit.c -fun foo\\\x07" {
@@ -610,7 +610,7 @@ namespace eval $testfile {
            "$tst resolved"
     }
 
-    # Test interaction of condition command and explicit linespec conditons.
+    # Test interaction of condition command and explicit linespec conditions.
     clean_restart $exefile
 
     set tst "condition_command overrides explicit linespec condition"
index 6807098fbda881133cd3bb4085f6108a62dee3af..d33a470551efeb3ebfa87ee54aa774b88b70a9c8 100644 (file)
@@ -74,7 +74,7 @@ gdb_test_multiple "python print (\"\\n\".join (regs))" \
 gdb_assert {[llength $py_regs] > 0} \
     "Found at least one register from python"
 gdb_assert {[llength $py_regs] == [llength $regs]} \
-    "Same numnber of registers found"
+    "Same number of registers found"
 
 set found_non_match 0
 for { set i 0 } { $i < [llength $regs] } { incr i } {
index 4bac1d62468f8593d7426f1fc3ac84cbc6851a46..dc22d234052f6409d351d1cbc98efd9d3f83f87f 100644 (file)
@@ -80,7 +80,7 @@ class TestDisassembler(Disassembler):
 
 class ShowInfoRepr(TestDisassembler):
     """Call the __repr__ method on the DisassembleInfo, convert the result
-    to a string, and incude it in a comment in the disassembler output."""
+    to a string, and include it in a comment in the disassembler output."""
 
     def disassemble(self, info):
         comment = "\t## " + repr(info)
@@ -91,9 +91,9 @@ class ShowInfoRepr(TestDisassembler):
 
 
 class ShowInfoSubClassRepr(TestDisassembler):
-    """Create a sub-class of DisassembleInfo.  Create an instace of this
+    """Create a sub-class of DisassembleInfo.  Create an instance of this
     sub-class and call the __repr__ method on it.  Convert the result
-    to a string, and incude it in a comment in the disassembler
+    to a string, and include it in a comment in the disassembler
     output.  The DisassembleInfo sub-class does not override __repr__
     so we are calling the implementation on the parent class."""
 
@@ -116,7 +116,7 @@ class ShowInfoSubClassRepr(TestDisassembler):
 
 class ShowResultRepr(TestDisassembler):
     """Call the __repr__ method on the DisassemblerResult, convert the
-    result to a string, and incude it in a comment in the disassembler
+    result to a string, and include it in a comment in the disassembler
     output."""
 
     def disassemble(self, info):
@@ -128,7 +128,7 @@ class ShowResultRepr(TestDisassembler):
 
 
 class ShowResultStr(TestDisassembler):
-    """Call the __str__ method on a DisassemblerResult object, incude the
+    """Call the __str__ method on a DisassemblerResult object, include the
     resulting string in a comment within the disassembler output."""
 
     def disassemble(self, info):
@@ -728,7 +728,7 @@ class AnalyzingDisassembler(Disassembler):
         info = self.MyInfo(info, self._start, self._end, self._nop_bytes)
         result = builtin_disassemble_wrapper(info)
 
-        # Record some informaiton about the first 'nop' instruction we find.
+        # Record some information about the first 'nop' instruction we find.
         if self._nop_index is None and is_nop(result.string):
             self._nop_index = len(self._pass_1_length)
             # The offset in the following read_memory call defaults to 0.
@@ -772,7 +772,7 @@ class AnalyzingDisassembler(Disassembler):
                 break
 
         # If we still don't have a replacement candidate, then search again,
-        # this time looking for an instruciton that is the same length as a
+        # this time looking for an instruction that is the same length as a
         # nop instruction.
         if replace_idx is None:
             for idx in range(len(self._pass_1_length)):
index 960a44f412a606f6d4005ac40fb17619e44c7772..703bc7d86019c4b801d64bfd9d09e7250b0317c0 100644 (file)
@@ -76,7 +76,7 @@ with_test_prefix "normal conditions" {
     gdb_test "python print (finishbp_default.is_valid())" "False" \
        "check finishBP on default frame has been hit"
     gdb_test "python print (finishbp.is_valid())" "False.*"\
-       "ensure that finish bp is invalid afer normal hit"
+       "ensure that finish bp is invalid after normal hit"
 
     # check FinishBreakpoint in main no allowed
 
index 9f32686dfd3d6a92734334a86c4caeeb63e3d020..a03505c197f446d76fedc8f6a8db78c67d267b2c 100644 (file)
@@ -148,7 +148,7 @@ gdb_test "python print(\"Got: \" + gdb.format_address($foo_addr, inf.progspace,
 
 # Grab the address of 'bar'.  Hopefully this will be the same address
 # as 'foo', but if not, that's not the end of the world, the test just
-# wont be quite as tough.
+# won't be quite as tough.
 set bar_addr [get_hexadecimal_valueof "&bar" "UNKNOWN"]
 
 # Now format the address of bar using the default inferior and
@@ -158,7 +158,7 @@ gdb_test "python print(\"Got: \" + gdb.format_address($bar_addr))" \
     "Got: $bar_addr <bar>" \
     "gdb.format_address for bar, while inferior 2 is selected"
 
-# And again, but this time, specificy the program space and
+# And again, but this time, specify the program space and
 # architecture.
 gdb_test "python print(\"Got: \" + gdb.format_address($bar_addr, inf2.progspace, inf2.architecture()))" \
     "Got: $bar_addr <bar>" \
@@ -170,7 +170,7 @@ gdb_test "python print(\"Got: \" + gdb.format_address($bar_addr, inf2.progspace,
     "Got: $bar_addr <bar>" \
     "gdb.format_address for bar, while inferior 1 is selected, pass progspace and architecture"
 
-# Try pasing incorrect object types for program space and architecture.
+# Try passing incorrect object types for program space and architecture.
 gdb_test "python print(\"Got: \" + gdb.format_address($bar_addr, inf2.progspace, inf2.progspace))" \
     [multi_line \
         "TypeError.*: The architecture argument is not a gdb.Architecture object" \
index 844804a4e27b7deedbe5351d87fde8eea661884f..3bab4752fddf01a7baaf01b899df95fdeb7e1fa3 100644 (file)
@@ -100,7 +100,7 @@ unset alphabet
 # Produces a potentially cut down version of $whole_big_string like GDB
 # would represent it.
 # $max is the maximum number of characters allowed in the string (but
-# the return value may contain more to accound for the extra quotes and
+# the return value may contain more to account for the extra quotes and
 # "..." added by GDB).
 proc get_cut_big_string { max } {
   global whole_big_string
index ca350cf03c2d63124d5d0b02efe68489fa4a4e14..6feb13924371d0ab39415577b4793a61b73327c2 100644 (file)
@@ -54,7 +54,7 @@ gdb_test "python print (bf1.read_var(variable = \"b\"))" "\"bar\"" \
     "test b using named arguments"
 
 # Test the read_var function in another block other than the current
-# block (in this case, the super block). Test thar read_var is reading
+# block (in this case, the super block). Test that read_var is reading
 # the correct variables of i and f but they are the correct value and type.
 gdb_py_test_silent_cmd "python sb = bf1.block().superblock" "get superblock" 0
 gdb_test "python print (bf1.read_var(\"i\", sb))" "1.1.*" "test i = 1.1"
@@ -64,7 +64,7 @@ gdb_test "python print (bf1.read_var(\"f\", sb).type)" "double" "test double f"
 
 # Now test read_var with a variable and block using named arguments.
 gdb_test "python print (bf1.read_var(block = sb, variable = \"i\"))" "1.1.*" \
-    "test i = 1.1 usign named arguments"
+    "test i = 1.1 using named arguments"
 gdb_test "python print (bf1.read_var(block = sb, variable = \"f\"))" "2.2.*" \
     "test f = 2.2 using named arguments"
 
index a993ac5d54fd5d0965efc742c1722a348fff3431..a62ee30081fe1dd5a5b810fa823ed150f4ecc5f9 100644 (file)
@@ -259,7 +259,7 @@ gdb_test "bt no-filter 1" \
     "bt no-filter 1 no address"
 gdb_test "bt 1" \
     "#0  cnuf_dneThe End \\(foo=21, bar=\"Param\", fb=, bf=\{nothing = \"Foo Bar\", f = 42, s = 19\}\\) at .*py-framefilter.c.*" \
-    "bt 1 no addresss"
+    "bt 1 no address"
 
 gdb_test_no_output "set python print-stack message" \
     "Set python print-stack to message for Error filter"
index f300efe9caea957e3f0bbd66e5d3f1323349d553..257a3d99e71392b9d7b8467d5947b3cc75b82b46 100644 (file)
@@ -86,7 +86,7 @@ mi_gdb_test "-var-info-path-expression c1.car.atom.ival" \
   "-var-info-path-expression c1.car.atom.ival"
 
 
-# Regression test for a crasher that would occur when deleting a
+# Regression test for a crash that would occur when deleting a
 # varobj that held an iterator that hadn't yet been completed.
 # See PR varobj/28131.
 mi_gdb_test "-var-create c1_again * &c1" \
index 256e3e955c7728ebbb9f41e018add2d849d415a0..bc8a461d0b591c5e2044465ab3cce786d6eb38de 100644 (file)
@@ -92,7 +92,7 @@ with_test_prefix "handler in gnu_debuglink mode" {
     gdb_test_no_output "python handler_obj.set_mode(Mode.RETURN_TRUE, \
                                                    \"$hidden_filename\", \
                                                    \"$debug_filename\")" \
-       "confirgure handler"
+       "configure handler"
     gdb_file_cmd $binfile
     gdb_assert {$gdb_file_cmd_debug_info == "debug"} "debug info found"
 
@@ -124,7 +124,7 @@ with_test_prefix "handler in build-id mode" {
     gdb_test_no_output "python handler_obj.set_mode(Mode.RETURN_TRUE, \
                                                    \"$hidden_filename\", \
                                                    \"$build_id_filename\")" \
-       "confirgure handler"
+       "configure handler"
 
     # Reload the binary and check the debug information is found.
     gdb_file_cmd $binfile
@@ -144,7 +144,7 @@ with_test_prefix "handler returning a string" {
     # Configure the handler return a filename string.
     gdb_test_no_output "python handler_obj.set_mode(Mode.RETURN_STRING, \
                                                    \"$hidden_filename\")" \
-       "confirgure handler"
+       "configure handler"
 
     # Reload the binary and check the debug information is found.
     gdb_file_cmd $binfile
@@ -157,7 +157,7 @@ with_test_prefix "handler returning a string" {
 
 # Register another global handler, this one raises an exception.  Reload the
 # debug information, the bad handler should be invoked first, which raises
-# an excetption, at which point GDB should skip further Python handlers.
+# an exception, at which point GDB should skip further Python handlers.
 with_test_prefix "handler raises an exception" {
     gdb_test_no_output \
        "python gdb.missing_debug.register_handler(None, rhandler)"
@@ -387,7 +387,7 @@ with_test_prefix "return False handler in progspace list" {
             "  Foo"]
 
     gdb_test_no_output "python handler_obj.set_mode(Mode.RETURN_FALSE)" \
-       "confirgure handler"
+       "configure handler"
 
     gdb_file_cmd $binfile
     gdb_test "python print(handler_call_log)" \
index 907bdec76f4bc70232cc4377f757163830f783e5..e4206beae46d931b5fad4870b8d4832b076fe0c0 100644 (file)
@@ -315,7 +315,7 @@ with_test_prefix "handler points to lib objfile" {
 
 # Register another global handler, this one raises an exception.  Reload the
 # core-file, the bad handler should be invoked first, which raises an
-# excetption, at which point GDB should skip further Python handlers.
+# exception, at which point GDB should skip further Python handlers.
 with_test_prefix "handler raises an exception" {
     gdb_test_no_output \
        "python gdb.missing_objfile.register_handler(None, rhandler)"
@@ -526,7 +526,7 @@ with_test_prefix "return False handler in global list" {
             "  Foo"]
 
     gdb_test_no_output "python handler_obj.set_mode(Mode.RETURN_FALSE)" \
-       "confirgure handler"
+       "configure handler"
 
     load_core_file
     gdb_test "python print(handler_call_log)" \
index a8f889443e585fe52fbc3ecf52fdc7bc21d3b7f2..7ee8883d64a5502daf5e0f1ede10efb769dc83ea 100644 (file)
@@ -145,7 +145,7 @@ proc_with_prefix test_simple_sub_class {} {
        "BasicParamPrefixWithMultiLineDoc('prefix-6')" "" \
        "gdb.Parameter('prefix-6 param-1', gdb.COMMAND_NONE, gdb.PARAM_BOOLEAN)" "" \
        "class BasicParamPrefixWithDocParameter(gdb.ParameterPrefix):" "" \
-       "  \"\"\"This is an unsused doc string.\"\"\"" "" \
+       "  \"\"\"This is an unused doc string.\"\"\"" "" \
        "  def __init__(self, name, doc):" "" \
        "    super().__init__(name, gdb.COMMAND_NONE, doc)" "" \
        "BasicParamPrefixWithDocParameter('prefix-7'," "" \
index e8b0ef24efb57da8ec8c8722bcc7e2ca5bd3c32d..b606b13b4ecd0182019ad666040adaca71dbec05 100644 (file)
@@ -235,7 +235,7 @@ proc_with_prefix test_color_parameter { } {
        gdb_test_no_output "python test_color_param.value =  gdb.Color('#FED210')" \
            "assign test_color_param.value to #FED210"
        gdb_test "python print (test_color_param.value.components)" "\\(254, 210, 16\\)" \
-           "test color parameter components from RGB hex tripple value"
+           "test color parameter components from RGB hex triple value"
        gdb_test "set print test-color-param 256" \
            "integer 256 out of range.*" "set invalid color parameter"
        gdb_test "python test_color_param.value = gdb.Color(256)" \
index ea90f2df48535452b504ca18dace6117dfca69f9..403cb4efe5bae4c83fa5d80393bd1efb4a9a5c29 100644 (file)
@@ -334,7 +334,7 @@ gdb_test "python print(my_style_10)" \
 gdb_test_no_output "python input_text = \"this is a unique string that is unlikely to appear elsewhere 12345\"" \
     "setup an input string"
 gdb_test_no_output "with style enabled off -- python output_text = filename_style.apply(input_text)" \
-    "create an ouput string by applying filename_style"
+    "create an output string by applying filename_style"
 gdb_test_no_output "python input_text = \"a totally different string that is also, hopefully, unique\"" \
     "replace the input string"
 gdb_test "python print(output_text)" \
index af187857176a5c7a302279b94d2b0d89ff7a4466..9d36b14567a98b5eef8e5779a98e4af3a6027915 100644 (file)
@@ -139,7 +139,7 @@ gdb_breakpoint "$srcfile:$linenum"
 gdb_continue_to_breakpoint "Break at end for variable a" ".*Break at end.*"
 gdb_py_test_silent_cmd "python frame = gdb.selected_frame()" "Get Frame" 0
 
-# Check that we find the static sybol local to this file over the
+# Check that we find the static symbol local to this file over the
 # static symbol from the second source file.
 gdb_test "python print (gdb.lookup_static_symbol ('rr').value ())" "42" \
     "print value of rr from main file"
index 59f8141de0de176d3fa651474a7af9386317e430..fe6e1ddfa000251a4e8dc1f37af501faab0580f4 100644 (file)
@@ -104,7 +104,7 @@ proc test_fields {lang} {
     gdb_test "python print (fields\[0\].name)" "a" "check structure field a name"
     gdb_test "python print (fields\[1\].name)" "b" "check structure field b name"
 
-    # Test that unamed fields have 'None' for name.
+    # Test that unnamed fields have 'None' for name.
     gdb_py_test_silent_cmd "python ss = gdb.parse_and_eval('ss')" "init ss" 1
     gdb_py_test_silent_cmd "python ss_fields = ss.type.fields()" \
       "get fields from ss.type" 1
@@ -294,7 +294,7 @@ proc test_is_signed {lang} {
 }
 
 # Compare the types of different symbols from the inferior, we're
-# checking that the types of different sybols of the same declared
+# checking that the types of different symbols of the same declared
 # type, are equal (in Python).
 proc test_type_equality {} {
 
index ba3b1376ff5a842d198cdb3323b3b219e963cad5..ff658465897d0dc6a72a8349d3060f308d712813 100644 (file)
@@ -126,7 +126,7 @@ proc test_value_numeric_ops {} {
   gdb_test_no_output "python evalue = gdb.history (0)"
   gdb_test "python print (int (evalue))" "2"
 
-  # Test pointer arithmethic
+  # Test pointer arithmetic
 
   # First, obtain the pointers
   gdb_test "print (void *) 2" ".*" ""
@@ -652,7 +652,7 @@ proc test_value_sub_classes {} {
     gdb_test "python obj = MyValue(b\[size_a0:\],tp)" "In MyValue.__init__" \
        "convert 2nd elem of buffer to a MyValue"
     gdb_test "python print(obj)" "2" \
-       "check printing of MyValue when initiaized with a type"
+       "check printing of MyValue when initialized with a type"
 }
 
 # Test the history count.  This must be the first thing called after
index b8a8b46c1db3e45a0b1825d6ee6a50f72f2dffb9..ebcbba960fa901a8a0e3739773934a77e9776c75 100644 (file)
@@ -106,7 +106,7 @@ gdb_test "ptype a1.getarrayind" \
 
 gdb_test "p a1\[6\]" ".*int &.*6" "after a1\[\]"
 gdb_test "p b1\[7\]" ".*const int &.*7" "after b1\[\]"
-# Note the following test.  Xmethods on dynamc types are not looked up
+# Note the following test.  Xmethods on dynamic types are not looked up
 # currently.  Hence, even though a_ptr points to a B object, the xmethod
 # defined for A objects is invoked.
 gdb_test "p a_ptr->geta()" "From Python <A_geta>.*30" "after: a_ptr->geta()"
index 27dbc555a17be6cd4c3ee43452f52f8346771e86..63225cff8c619becf618d2d6cf7f53e06aa76029 100644 (file)
@@ -303,7 +303,7 @@ if {![gdb_debug_enabled]} {
 gdb_py_test_silent_cmd "set python print-stack full" \
     "Set print-stack full for prompt tests" 1
 
-# Test prompt substituion
+# Test prompt substitution
 
 gdb_test_multiline "prompt substitution" \
   "python" "" \
@@ -380,7 +380,7 @@ gdb_test_multiple "python gdb.prompt_hook = program_prompt" "set the programming
     }
 }
 
-gdb_test_multiple "python" "test we ignore substitution for seconday prompts" {
+gdb_test_multiple "python" "test we ignore substitution for secondary prompts" {
     -re "\r\n>$" {
        pass $gdb_test_name
     }
index 35e94b278215e61a0ccbded985db57c0fcc8c22c..992124e8b32123cfe04dd25a9867d3f5ec18e01b 100644 (file)
@@ -185,7 +185,7 @@ proc run_test { cleanup_properly } {
     Term::command "tui disable"
 
     send_gdb "tui enable\n"
-    gdb_assert { [Term::wait_for "^$::gdb_prompt tui disable"] } "TUI renabled"
+    gdb_assert { [Term::wait_for "^$::gdb_prompt tui disable"] } "TUI re-enabled"
 
     Term::check_box "check for python window" 0 0 80 16
 }
index d17ccfa4be190b6fc80ee49bbd0741afc5c4c26c..b1e7fca774cafa5b98a1d3af66f0f1fe57cea3b5 100644 (file)
@@ -59,7 +59,7 @@ class EventWindow:
 
         if cleanup_properly:
             # Disconnect the listeners and delete the lambda functions.
-            # This removes cyclic references to SELF, and so alows SELF to
+            # This removes cyclic references to SELF, and so allows SELF to
             # be deleted.
             gdb.events.stop.disconnect(self._stop_listener)
             gdb.events.exited.disconnect(self._exit_listener)
index fd2065af5fa13e0d9091e7cf34d78e561ae18ede..5da881c47fc0f072621d272548bfdb882463f299 100644 (file)
@@ -59,7 +59,7 @@ fork_child (void)
 int
 main (void)
 {
-  pid_t childs[NFORKS];
+  pid_t children[NFORKS];
   int i;
   int status;
   int num_exited = 0;
@@ -76,7 +76,7 @@ main (void)
       if (pid > 0)
        {
          /* Parent.  */
-         childs[i] = pid;
+         children[i] = pid;
        }
       else if (pid == 0)
        {
index d884587d7ae3def208a8df1b77480c1bf5b4276e..bce53c39196a7def76fe4082cacefd9f94352f5e 100644 (file)
@@ -58,7 +58,7 @@ proc start_gdb_and_runto_main { target_async target_non_stop } {
 # CONDITION is the expression to be used as the breakpoint condition.
 #
 # N_EXPECTED_HITS is the number of threads that we expect to stop due to
-# CONDITON.
+# CONDITION.
 #
 # MESSAGE is used as a test name prefix.
 proc run_condition_test { message n_expected_hits condition \
index f33b7d667ce43e2065fa7903bf33a48f5c1c4077..8a49e28fee0441394085ebadc2d884768deb1c2d 100644 (file)
@@ -13,7 +13,7 @@
 # You should have received a copy of the GNU General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-# This test reprocuces bug gdb/28942, performing an inferior function
+# This test reproduces bug gdb/28942, performing an inferior function
 # call from a breakpoint condition in a multi-threaded inferior.
 #
 # The important part of this test is that, when the conditional
@@ -53,7 +53,7 @@ proc start_gdb_and_runto_main { target_async target_non_stop } {
 #
 # TARGET_ASYNC and TARGET_NON_STOP are used when starting up GDB.
 #
-# When STOP_AT_COND is true the breakpoint condtion will evaluate to
+# When STOP_AT_COND is true the breakpoint condition will evaluate to
 # true, and GDB will stop at the breakpoint.  Otherwise, the
 # breakpoint condition will evaluate to false and GDB will not stop at
 # the breakpoint.
index 56e1634c42f039e7d7fe6b24a124699690365fff..b821faf17655cc0d86ee106dbb50e4d2040d9ac8 100644 (file)
@@ -137,7 +137,7 @@ proc test {target-non-stop exit-threads-first schedlock} {
 
     if {${target-non-stop} == "on"} {
        # With non-stop. GDB issues ContinueDebugEvent as soon as it
-       # seens a debug event, so after a bit, the windows backend
+       # sees a debug event, so after a bit, the windows backend
        # will have seen all the thread and process exit events, even
        # while the user has the prompt.  Give it a bit of time for
        # that to happen, so we can tell which threads have exited by
index a4fc5807167cf28980c870706cac59cc26e5e42f..d2f0e851aefbeb89122bb420148bced9a0d7bbbe 100644 (file)
@@ -43,7 +43,7 @@
 #    remembers from step 4 a pending SIGTRAP to report for thread 1,
 #    so reports it now.
 #
-# 6) From GDB's perpective, this SIGTRAP can't represent a finished
+# 6) From GDB's perspective, this SIGTRAP can't represent a finished
 #    single-step, since thread 1 was not single-stepping (it was
 #    continued in step 5).  Neither does this SIGTRAP correspond to a
 #    breakpoint hit.  GDB reports to the user a spurious SIGTRAP.
index 673d77f0028b5a381f7376cff19afc3b2d35d3e9..7a887d7d18420cc91f373cd276ab4b963529c329 100644 (file)
@@ -235,7 +235,7 @@ proc test {non_stop displaced third_thread} {
                                exp_continue
                            }
                        } else {
-                           # All stop mode.  Something should have stoppped
+                           # All stop mode.  Something should have stopped
                            # by now otherwise we shouldn't have a prompt, but
                            # we can't know which thread will have stopped as
                            # that is a race condition.
@@ -348,7 +348,7 @@ proc test {non_stop displaced third_thread} {
                        # We know that the thread shouldn't be stopped
                        # at _start, though.  This is the location of
                        # the scratch pad on Linux at the time of
-                       # writting.
+                       # writing.
                        verbose -log "XXX: thread 2 is bad, stuck in scratchpad"
                        incr thread_count
                        incr bad_threads
index f7791e0ea90fb6919b86132d6442dbcec6f5d77b..53047e3fc1d35abebfbaeb8190ff8eb2ebf6215f 100644 (file)
@@ -46,7 +46,7 @@ if {![runto_main]} {
     return
 }
 
-# Check we hace non-stop mode.  We do try to force this on above, but maybe
+# Check we have non-stop mode.  We do try to force this on above, but maybe
 # the target doesn't support non-stop mode, in which case (hopefully)
 # non-stop mode will still show as off, and this test should not be run.
 if {![is_target_non_stop]} {
index d698b0ce96b1709dd56627aab962586cc721706d..911e080d4ee3cb92d700693b8376367c712b2c41 100644 (file)
@@ -31,17 +31,17 @@ proc get_thread_id {func} {
     global gdb_prompt
     global tdlabel_re
 
-    set thre -1
+    set res -1
     set test "get $func thread id"
     gdb_test_multiple "info threads" $test {
        -re "(${::decimal})\[^\n\r\]*${tdlabel_re}\[^\n\r\]*$func.*$gdb_prompt $" {
            # Get the thread's id.
-           set thre $expect_out(1,string)
+           set res $expect_out(1,string)
            pass $test
        }
     }
 
-    return $thre
+    return $res
 }
 
 proc check_thread_specific_breakpoint {non_stop} {
index 2b995238f7ad7c29ecaed6cc451a3c3815a14580..2cbe222455bb4d910b6012298960a7d6206fe0fe 100644 (file)
@@ -172,7 +172,7 @@ proc gdb_backtrace_tdp_2 { msg } {
 
     # We are in a trace frame at which we collected only the registers
     # Therefore we expect to be able to identify stack frame #0, but
-    # we don't expect to be able to display its args unles they are
+    # we don't expect to be able to display its args unless they are
     # passed in registers (which isn't the case for m68k), and we
     # don't expect to be able to identify the caller's stack frame.
 
index c5bf888ef5a93b2b867752c4150721fc0f3e1953..1f080c63c5d16fe204203e785d16662af6747882 100644 (file)
@@ -17,7 +17,7 @@
 #
 # This test should run on targets that don't support tracing, but for
 # which libinproctrace.so is built and helps catch some issues where
-# libinproctrace.so is so broken inferiors wont even start.
+# libinproctrace.so is so broken inferiors won't even start.
 
 load_lib "trace-support.exp"
 
index 1b92f443e571fd3adad99a8a45af0047f1f7c20d..fdb5a7a8ed36e8f666b7ccb0c8c1c585b3036ee0 100644 (file)
@@ -367,7 +367,7 @@ proc gdb_collect_registers_test { myregs } {
     with_test_prefix "collect $myregs" {
        prepare_for_trace_test
 
-       # We'll simply re-use the args_test_function for this test
+       # We'll simply reuse the args_test_function for this test
        gdb_test "trace args_test_func" \
            "Tracepoint ${::decimal} at .*" \
            "set tracepoint"
@@ -593,7 +593,7 @@ proc gdb_collect_return_test { } {
     with_test_prefix "collect \$_ret" {
        prepare_for_trace_test
 
-       # We'll simply re-use the args_test_function for this test.
+       # We'll simply reuse the args_test_function for this test.
        gdb_test "trace args_test_func" \
            "Tracepoint ${::decimal} at .*" \
            "set tracepoint"
index 017e90c1411f27e4ca97191c875dda5027ff99a5..eadc02f323aba0d9359936bc7389bbbdcaa0382f 100644 (file)
@@ -249,9 +249,9 @@ gdb_tfind_test "8.25: tfind none" "none" "-1"
 gdb_test "tfind tracepoint 0" "failed to find.*" \
        "8.25: tfind tracepoint rejects zero"
 gdb_test "tfind tracepoint 32767" "failed to find.*" \
-       "8.25: tfind tracepoint rejects nonexistant tracepoint"
+       "8.25: tfind tracepoint rejects nonexistent tracepoint"
 gdb_test "tfind tracepoint -1" "failed to find.*" \
-       "8.25: tfind tracepoint rejects nonexistant tracepoint of -1"
+       "8.25: tfind tracepoint rejects nonexistent tracepoint of -1"
 
 # 8.37 tfind tracepoint n where n no longer exists (but used to)
 gdb_test_no_output "delete trace $tdp2" ""
@@ -300,7 +300,7 @@ gdb_test "print \$trace_line" "$testline4" \
        "8.14: tfind pc x has correct line"
 gdb_test "printf \"x \%d x\\n\", \$pc == \$test_pc" \
        "x 1 x" \
-       "8.14: tfind pc x has corrrect address"
+       "8.14: tfind pc x has correct address"
 
 # 8.15 tfind pc <no arg>
 ## check pc same before and after, $trace_frame changed
index 488ae5c65cfe614d68a12bc71785cc5fe6ed0d68..e4d39470e9b6cdabc96c422ad41f1c615af76584 100644 (file)
@@ -86,7 +86,7 @@ gdb_test "info trace" "in gdb_recursion_test.*$srcfile:$testline1.
 \[\t \]+not installed on target" \
        "1.4b: trace function by name"
 
-# 1.5 trace non-existant function
+# 1.5 trace non-existent function
 gdb_delete_tracepoints
 gdb_test "trace NoSuChFuNc" "Function \"NoSuChFuNc\" not defined." \
        "1.5a: trace invalid function"
index 309ef2a85856a97e0e7e80cec8f1c4e3bcccdfc6..6cafa111e558aa0205bb46a5929c5da60954a041 100644 (file)
@@ -328,7 +328,7 @@ proc gdb_unavailable_registers_test { } {
 
        prepare_for_trace_test
 
-       # We'll simply re-use the globals_test_function for this test
+       # We'll simply reuse the globals_test_function for this test
        gdb_test "trace globals_test_func" \
            "Tracepoint ${::decimal} at .*" \
            "set tracepoint"
@@ -387,7 +387,7 @@ proc gdb_unavailable_floats { } {
 
        prepare_for_trace_test
 
-       # We'll simply re-use the globals_test_function for this test
+       # We'll simply reuse the globals_test_function for this test
        gdb_test "trace globals_test_func" \
            "Tracepoint ${::decimal} at .*" \
            "set tracepoint"
@@ -551,7 +551,7 @@ proc gdb_collect_globals_test_1 { } {
     # Note, depends on previous test.
     gdb_test "print \$\[1\]" \
        " = <unavailable>" \
-       "subscript a non-memory rvalue array, accessing an unvailable element"
+       "subscript a non-memory rvalue array, accessing an unavailable element"
 
     # Access a field of a non-lazy value, making sure the
     # unavailable-ness is propagated.  History values are easy
index 9364b06fe7f8975e8b93feace29a37601db7370e..71688ee373e9daf4981391f090e0dbcefa2dfe14 100644 (file)
@@ -189,7 +189,7 @@ proc gdb_do_cache {name args} {
     # As with the exit tracking above we also need to track any nested
     # caching procs that this proc might call.  To do this we backup
     # the current global list of nested caching proc calls and reset
-    # the global back ot the empty list.  As nested caching procs are
+    # the global back to the empty list.  As nested caching procs are
     # called their names are added to the global list, see
     # gdb_cache_maybe_gdb_exit for where this is done.
     set old_gdb_nested_caching_proc_calls $::gdb_nested_caching_proc_calls
index e76b3c6b90e04d0b94b08146ecdaae1ecb865c62..51c241019b53d5628022112b9aa6e21ba9af557d 100644 (file)
@@ -131,7 +131,7 @@ namespace eval ::CheckTestNames {
        _check_well_formed_name $message
     }
 
-    # If COUNT is greater than zero, disply PREFIX followed by COUNT.
+    # If COUNT is greater than zero, display PREFIX followed by COUNT.
     proc maybe_show_count { prefix count } {
        if { $count > 0 } {
            clone_output "$prefix$count"
index 0bc71cd5822f034cc1e8488892b289f181cbd1ce..51f0d977f275dca9e248abfc17e278459d62c12d 100644 (file)
@@ -147,7 +147,7 @@ namespace eval ::cp_support_internal {
 #
 # If you test the same class declaration more than once, you can specify
 # IN_CLASS_TABLE as "ibid".  "ibid" means: look for a previous class
-# table that had the same IN_KEY and IN_TAG, and re-use that table.
+# table that had the same IN_KEY and IN_TAG, and reuse that table.
 #
 # IN_TAIL is the expected text after the close brace, specifically the "*"
 # in "struct { ... } *".  This is an optional parameter.  The default
index e46a36bb04812f9c01e6d317d7603fdb59edde13..8f664abb022d35cd139c9fcb54bdd7b2ad641e67 100644 (file)
@@ -151,7 +151,7 @@ namespace eval ::Queue {
        set data_($oid) [linsert $data_($oid) 0 $elem]
     }
 
-    # Re-use some common routines from the Stack implementation.
+    # Reuse some common routines from the Stack implementation.
     namespace import ::Stack::create ::Stack::new ::Stack::empty \
        ::Stack::delete ::Stack::push ::Stack::length ::Stack::error_if
 
index 9575f4b0b1c8cfb622a945d86c1d8ea2380ac598..ca2278606d6caf2db7510d9962ac6dbc0f53222f 100644 (file)
@@ -227,7 +227,7 @@ proc init_shared_gdb {} {
 #     if { $share } shared_gdb_disable
 #   }
 #
-# to write functionalty that could share ($share == 1) or could not
+# to write functionality that could share ($share == 1) or could not
 # share ($share == 0) a gdb session between two uses.
 
 proc shared_gdb_enable {} {
@@ -3964,7 +3964,7 @@ namespace eval Dwarf {
     #             added in the BODY.
     #             default = 1.
     # As a special case, if OPTIONS is a list of length 1, it's
-    # interpreted as specifing the filename.
+    # interpreted as specifying the filename.
     # BODY is Tcl code to emit the assembly.  It is evaluated via
     # "eval" -- not uplevel as you might expect, because it is
     # important to run the body in the Dwarf namespace.
index c87876664f02936bcefe1d2785e94c370e9f8043..e8c77cec2436070e077b9bfed6f9b13458c1ec29 100644 (file)
@@ -27,7 +27,7 @@ if {$tool == ""} {
     exit 2
 }
 
-# Add "convience abbreviation" for positive decimals, without leading zeros.
+# Add "convenience abbreviation" for positive decimals, without leading zeros.
 set positive {(?:[1-9][0-9]*)}
 
 # Dejagnu defines decimal as one of the "convenience abbreviations".
@@ -251,7 +251,7 @@ if {![info exists GCORE]} {
 }
 verbose "using GCORE = $GCORE" 2
 
-# Return 0 if the gcore scipt is missing.
+# Return 0 if the gcore script is missing.
 proc has_gcore_script {} {
     global GCORE
     if {$GCORE == ""} {
@@ -6819,7 +6819,7 @@ proc gdb_compile {source dest type options} {
              || [istarget "*-*-*djgpp"]
              || [istarget "*-*-cygwin*"])} {
            # Force output to unbuffered mode, by linking in an object file
-           # with a global contructor that calls setvbuf.
+           # with a global constructor that calls setvbuf.
            #
            # Compile the special object separately for two reasons:
            #  1) Insulate it from $options.
@@ -9543,7 +9543,7 @@ proc build_executable_from_specs {testname executable options args} {
 }
 
 # Build executable named EXECUTABLE, from SOURCES.  If SOURCES are not
-# provided, uses $EXECUTABLE.c.  The TESTNAME paramer is the name of test
+# provided, uses $EXECUTABLE.c.  The TESTNAME parameter is the name of test
 # to pass to untested, if something is wrong.  OPTIONS are passed
 # to gdb_compile directly.
 proc build_executable { testname executable {sources ""} {options {debug}} } {
@@ -10880,7 +10880,7 @@ proc get_index_type { objfile { testname "" } } {
     return $index_type
 }
 
-# Add a .gdb_index section to PROGRAM, unless it alread has an index
+# Add a .gdb_index section to PROGRAM, unless it already has an index
 # (.gdb_index/.debug_names).  Gdb doesn't support building an index from a
 # program already using one.  Return 1 if a .gdb_index was added, return 0
 # if it already contained an index, and -1 if an error occurred.
@@ -11360,7 +11360,7 @@ gdb_caching_proc has_hw_wp_support {} {
        }
        -re ".*$gdb_prompt $" {
            set has_hw_wp_support 0
-           verbose -log "\n$me: Default, hardware watchpoint not deteced"
+           verbose -log "\n$me: Default, hardware watchpoint not detected"
        }
     }
 
index 98ee060e9ff5cc7d2b96dd732e86834f58376b65..f7fb925864915e616fb87cc401cbf081cac4ab5a 100644 (file)
@@ -20,7 +20,7 @@
 # To be addressed or set in your baseboard config file:
 #
 #   set_board_info gdb_protocol "remote"
-#      Unles you have a gdbserver that uses a different protocol...
+#      Unless you have a gdbserver that uses a different protocol...
 #      After GDB starts you should check global $gdbserver_protocol instead as
 #      the testfile may force a specific different target protocol itself.
 #
index 9f59510bdc55f3a04cc155333cbed132e2211bfe..4fd3eeb0dde05dab3bab4e1b1de21736da10957f 100644 (file)
@@ -2268,9 +2268,9 @@ namespace eval ::varobj_tree {
   # An index which is appended to root varobjs to ensure uniqueness.
   variable _root_idx 0
 
-  # A procedure to help with debuggging varobj trees.
+  # A procedure to help with debugging varobj trees.
   # VARIABLE_NAME is the name of the variable to dump.
-  # CMD, if present, is the name of the callback to output the contstructed
+  # CMD, if present, is the name of the callback to output the constructed
   #   strings. By default, it uses expect's "send_log" command.
   # TERM, if present, is a terminating character. By default it is the newline.
   #
index 8ab18796f0af186105a6ef58a20739860c375b81..161b2a564c22129ad2ce55981e3a02c068784e8b 100644 (file)
@@ -59,7 +59,7 @@ main ()
   cl_int *data;
 
   /* In order to see which devices the OpenCL implementation on your platform
-     provides you may issue a call to the print_clinfo () fuction.  */
+     provides you may issue a call to the print_clinfo () function.  */
 
   /* Initialize the data the OpenCl program operates on.  */
   data = (cl_int*) calloc (1, size);
index f751b849397e6e925db6906f9dba1b19aca35f4f..489e9d54250bf6259f3e9d8694e50f78233194a2 100644 (file)
@@ -28,7 +28,7 @@
 /* Default READMORE method.  */
 #define READMORE_METHOD_DEFAULT 2
 
-/* Default READMORE sleep time in miliseconds.  */
+/* Default READMORE sleep time in milliseconds.  */
 #define READMORE_SLEEP_DEFAULT 10
 
 /* Helper function.  Initialize *METHOD according to environment variable
index a03c32b3f602150744df614c51c86c6d999828cf..e889e3b931b257d6bac3b4af24b1b1e4fcf4c3ad 100644 (file)
@@ -1193,7 +1193,7 @@ proc Term::wait_for {wait_for} {
 }
 
 # Accept some output from gdb and update the screen.  Wait for the screen
-# region X/Y/WIDTH/HEIGTH to matches REGEXP.  Return 0 on timeout, 1 on
+# region X/Y/WIDTH/HEIGHT to matches REGEXP.  Return 0 on timeout, 1 on
 # success.
 proc Term::wait_for_region_contents {x y width height regexp} {
     while 1 {
@@ -1491,7 +1491,7 @@ proc Term::_check_box {x y width height} {
        return "lr corner is $c, not +"
     }
 
-    # Note we do not check the full horizonal borders of the box.
+    # Note we do not check the full horizontal borders of the box.
     # The top will contain a title, and the bottom may as well, if
     # it is overlapped by some other border.  However, at most a
     # title should appear as '+-VERY LONG TITLE-+', so we can