aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.arch/e500-regs.exp2
-rw-r--r--gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c2
-rw-r--r--gdb/testsuite/gdb.base/all-architectures.exp.tcl2
-rw-r--r--gdb/testsuite/gdb.base/bigcore.c2
-rw-r--r--gdb/testsuite/gdb.base/break-always.exp2
-rw-r--r--gdb/testsuite/gdb.base/call-ar-st.c2
-rw-r--r--gdb/testsuite/gdb.base/default.exp2
-rw-r--r--gdb/testsuite/gdb.base/exitsignal.exp2
-rw-r--r--gdb/testsuite/gdb.base/fork-print-inferior-events.exp2
-rw-r--r--gdb/testsuite/gdb.base/scope0.c2
-rw-r--r--gdb/testsuite/gdb.base/whatis-ptype-typedefs.exp2
-rw-r--r--gdb/testsuite/gdb.cp/cpexprs.cc2
-rw-r--r--gdb/testsuite/gdb.cp/oranking.cc6
-rw-r--r--gdb/testsuite/gdb.fortran/array-slices.exp2
-rw-r--r--gdb/testsuite/gdb.multi/multi-arch-exec.exp2
-rw-r--r--gdb/testsuite/gdb.python/py-shared.exp4
-rw-r--r--gdb/testsuite/gdb.python/py-xmethods.cc2
-rw-r--r--gdb/testsuite/gdb.python/python.exp2
-rw-r--r--gdb/testsuite/gdb.threads/thread-specific-bp.exp2
-rw-r--r--gdb/testsuite/lib/completion-support.exp4
-rw-r--r--gdb/testsuite/lib/gdb.exp2
-rw-r--r--gdb/testsuite/lib/prelink-support.exp4
-rw-r--r--gdb/testsuite/lib/read1.c2
23 files changed, 28 insertions, 28 deletions
diff --git a/gdb/testsuite/gdb.arch/e500-regs.exp b/gdb/testsuite/gdb.arch/e500-regs.exp
index ac196ff..64b0090 100644
--- a/gdb/testsuite/gdb.arch/e500-regs.exp
+++ b/gdb/testsuite/gdb.arch/e500-regs.exp
@@ -71,7 +71,7 @@ for {set i 0} {$i < 32} {incr i 1} {
gdb_test "info reg ev$i" "ev$i.*$vector_register" "info reg ev$i"
}
-# Test wether the GPRs are updated accordingly. (GPRs are just the lower
+# Test whether the GPRs are updated accordingly. (GPRs are just the lower
# 32 bits of the EV registers.)
set general_register "0x1\[ \t\]+1"
diff --git a/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c b/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c
index e83c490..6f0f620 100644
--- a/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c
+++ b/gdb/testsuite/gdb.arch/ppc64-break-on-_exit.c
@@ -17,7 +17,7 @@
/* This file was generated from glibc's 2.31 _exit.c, by doing a glibc build
on ppc64le-linux, copying the command line, adding -g0 -save-temps and
- recuding the _exit.i file. */
+ reducing the _exit.i file. */
void _exit (int status);
diff --git a/gdb/testsuite/gdb.base/all-architectures.exp.tcl b/gdb/testsuite/gdb.base/all-architectures.exp.tcl
index 2149650..8e0179c 100644
--- a/gdb/testsuite/gdb.base/all-architectures.exp.tcl
+++ b/gdb/testsuite/gdb.base/all-architectures.exp.tcl
@@ -182,7 +182,7 @@ proc gdb_test_no_output_osabi {cmd test} {
# It'd be nicer/safer to restart GDB on each iteration, but, that
# increases the testcase's run time several times fold. At the time
-# of writting, it'd jump from 20s to 4min on x86-64 GNU/Linux with
+# of writing, it'd jump from 20s to 4min on x86-64 GNU/Linux with
# --enable-targets=all.
set num_slices 8
diff --git a/gdb/testsuite/gdb.base/bigcore.c b/gdb/testsuite/gdb.base/bigcore.c
index 27ad0a6..e1d6def 100644
--- a/gdb/testsuite/gdb.base/bigcore.c
+++ b/gdb/testsuite/gdb.base/bigcore.c
@@ -222,7 +222,7 @@ main ()
the file for unmodified pages - while others handle this poorly -
writing out all pages including those that weren't modified. */
- print_string ("Alocating the entire heap ...\n");
+ print_string ("Allocating the entire heap ...\n");
{
size_t chunk_size;
unsigned long chunks_allocated = 0;
diff --git a/gdb/testsuite/gdb.base/break-always.exp b/gdb/testsuite/gdb.base/break-always.exp
index 80e8e13..1ea60d4 100644
--- a/gdb/testsuite/gdb.base/break-always.exp
+++ b/gdb/testsuite/gdb.base/break-always.exp
@@ -67,7 +67,7 @@ gdb_test "p /x \$shadow = *(char *) $bp_address" \
# Overwrite memory where the breakpoint is planted. GDB should update
# its memory breakpoint's shadows, to account for the new contents,
# and still leave the breakpoint insn planted. Try twice with
-# different values, in case we happen to be writting exactly what was
+# different values, in case we happen to be writing exactly what was
# there already.
foreach test_value {0 1} {
set write_test "write $test_value to breakpoint's address"
diff --git a/gdb/testsuite/gdb.base/call-ar-st.c b/gdb/testsuite/gdb.base/call-ar-st.c
index 6c1e3b9..4eac3f4 100644
--- a/gdb/testsuite/gdb.base/call-ar-st.c
+++ b/gdb/testsuite/gdb.base/call-ar-st.c
@@ -22,7 +22,7 @@
* -- call print_long_arg_list from inside print_small_structs
***************************************************************************/
-/* Some enumerated types -- used to test that the structureal data type is
+/* Some enumerated types -- used to test that the structural data type is
* retrieved for function arguments with typedef data types.
*/
typedef int id_int;
diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp
index 3c5e8b7..aca8d5f 100644
--- a/gdb/testsuite/gdb.base/default.exp
+++ b/gdb/testsuite/gdb.base/default.exp
@@ -451,7 +451,7 @@ gdb_test "rbreak" "rbreak"
gdb_test "restore" "You can't do that without a process to debug\."
#test return
-# The middle case accomodated the obsolete a29k, where doing the "ni"
+# The middle case accommodated the obsolete a29k, where doing the "ni"
# above causes an initial stack to be created.
gdb_test "return" "No selected frame..*"
diff --git a/gdb/testsuite/gdb.base/exitsignal.exp b/gdb/testsuite/gdb.base/exitsignal.exp
index 24e4aa1..47b1c2d 100644
--- a/gdb/testsuite/gdb.base/exitsignal.exp
+++ b/gdb/testsuite/gdb.base/exitsignal.exp
@@ -17,7 +17,7 @@
# purpose of this checking is to ensure that the variables are
# mutually exclusive, i.e., that when $_exitsignal is set, $_exitcode
# is not, and vice-versa. This mutual exclusion happens because if an
-# inferior exited (either successfuly or not), it certainly was not
+# inferior exited (either successfully or not), it certainly was not
# killed by a signal. However, if it was killed by an uncaught
# signal, then there is no way for it to have exited.
diff --git a/gdb/testsuite/gdb.base/fork-print-inferior-events.exp b/gdb/testsuite/gdb.base/fork-print-inferior-events.exp
index 33ac172..b7b3d55 100644
--- a/gdb/testsuite/gdb.base/fork-print-inferior-events.exp
+++ b/gdb/testsuite/gdb.base/fork-print-inferior-events.exp
@@ -47,7 +47,7 @@ if { [build_executable "failed to prepare" $testfile $srcfile debug] } {
set reading_re "(Reading.*from remote target\\.\\.\\.\r\n)*"
set exited_normally_re "${reading_re}\\\[Inferior $decimal \\(.*\\) exited normally\\\]"
# gdbserver produces a slightly different message when attaching after
-# a fork, so we have to tweak the regexp to accomodate that.
+# a fork, so we have to tweak the regexp to accommodate that.
set attach_child_re "${reading_re}\\\[Attaching after .* fork to child .*\\\]\r\n"
set detach_child_re "${reading_re}\\\[Detaching after fork from child .*\\\]\r\n"
set detach_parent_re "${reading_re}\\\[Detaching after fork from parent .*\\\]\r\n"
diff --git a/gdb/testsuite/gdb.base/scope0.c b/gdb/testsuite/gdb.base/scope0.c
index 3aad48d..7a38a53 100644
--- a/gdb/testsuite/gdb.base/scope0.c
+++ b/gdb/testsuite/gdb.base/scope0.c
@@ -113,7 +113,7 @@ autovars (int bcd, int abc)
int i96 = useit (96), i97 = useit (97), i98 = useit (98);
int i99 = useit (99);
- /* Use all 100 of the local variables to derail agressive optimizers. */
+ /* Use all 100 of the local variables to derail aggressive optimizers. */
useit ( i0); useit ( i1); useit ( i2); useit ( i3); useit ( i4);
useit ( i5); useit ( i6); useit ( i7); useit ( i8); useit ( i9);
diff --git a/gdb/testsuite/gdb.base/whatis-ptype-typedefs.exp b/gdb/testsuite/gdb.base/whatis-ptype-typedefs.exp
index 48a0743..0495a82 100644
--- a/gdb/testsuite/gdb.base/whatis-ptype-typedefs.exp
+++ b/gdb/testsuite/gdb.base/whatis-ptype-typedefs.exp
@@ -255,7 +255,7 @@ proc run_tests {lang} {
# We try all combinations, even those that don't
# parse, or are invalid, to catch the case of a
# regression making them inadvertently valid. For
- # example, these convertions are invalid:
+ # example, these conversions are invalid:
#
# float <-> array [iff sizeof pointer != sizeof float]
# array -> function (not function pointer)
diff --git a/gdb/testsuite/gdb.cp/cpexprs.cc b/gdb/testsuite/gdb.cp/cpexprs.cc
index bcb5900..e4f6612 100644
--- a/gdb/testsuite/gdb.cp/cpexprs.cc
+++ b/gdb/testsuite/gdb.cp/cpexprs.cc
@@ -260,7 +260,7 @@ public:
void operator delete[] (void* ptr) { // base::operator delete[]
free (ptr); }
- base const* operator-> (void) const { // base::opeartor->
+ base const* operator-> (void) const { // base::operator->
return this; }
int operator->* (base const& b) const { // base::operator->*
diff --git a/gdb/testsuite/gdb.cp/oranking.cc b/gdb/testsuite/gdb.cp/oranking.cc
index 1357610..c3f185b 100644
--- a/gdb/testsuite/gdb.cp/oranking.cc
+++ b/gdb/testsuite/gdb.cp/oranking.cc
@@ -14,7 +14,7 @@ dummy ()
free (p);
}
-/* 1. A standard covnersion sequence is better than a user-defined sequence
+/* 1. A standard conversion sequence is better than a user-defined sequence
which is better than an elipses conversion sequence. */
class A{};
@@ -37,7 +37,7 @@ int test2(){
return foo2(b); // 13
}
-/* 2. Standard Conversion squence S1 is better than standard Conversion
+/* 2. Standard Conversion sequence S1 is better than standard Conversion
S2 if: */
// - S1 has a better rank than S2
@@ -58,7 +58,7 @@ int test4 () {
}
// - S1 and S2 have the same rank but:
-// - S2 is a conversion of pointer or memeber-pointer to bool
+// - S2 is a conversion of pointer or member-pointer to bool
int foo5 (bool) { return 25; }
int foo5 (void*) { return 26; }
int test5 () {
diff --git a/gdb/testsuite/gdb.fortran/array-slices.exp b/gdb/testsuite/gdb.fortran/array-slices.exp
index ce17b8d..07c6f07 100644
--- a/gdb/testsuite/gdb.fortran/array-slices.exp
+++ b/gdb/testsuite/gdb.fortran/array-slices.exp
@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/> .
# Print a 2 dimensional assumed shape array. We pass different slices
-# of the array to a subroutine and print the array as recieved within
+# of the array to a subroutine and print the array as received within
# the subroutine. This should exercise GDB's ability to handle
# different strides for the different dimensions.
diff --git a/gdb/testsuite/gdb.multi/multi-arch-exec.exp b/gdb/testsuite/gdb.multi/multi-arch-exec.exp
index 85d0cce..5ae23ab 100644
--- a/gdb/testsuite/gdb.multi/multi-arch-exec.exp
+++ b/gdb/testsuite/gdb.multi/multi-arch-exec.exp
@@ -166,7 +166,7 @@ proc do_test { first_arch mode selected_thread } {
gdb_test_no_output "set follow-exec-mode $mode"
- # Test that GDB updates the target description / arch successfuly
+ # Test that GDB updates the target description / arch successfully
# after the exec.
gdb_test "continue" "Breakpoint $bkptno_numopt_re, main.*" "continue across exec that changes architecture"
}
diff --git a/gdb/testsuite/gdb.python/py-shared.exp b/gdb/testsuite/gdb.python/py-shared.exp
index b760316..7b84d14 100644
--- a/gdb/testsuite/gdb.python/py-shared.exp
+++ b/gdb/testsuite/gdb.python/py-shared.exp
@@ -51,14 +51,14 @@ runto [gdb_get_line_number "Break to end."]
# Test gdb.solib_name
gdb_test "p &func1" "" "func1 address"
-gdb_py_test_silent_cmd "python func1 = gdb.history(0)" "Aquire func1 address" 1
+gdb_py_test_silent_cmd "python func1 = gdb.history(0)" "Acquire func1 address" 1
gdb_test "python print (gdb.solib_name(int(func1)))" "py-shared-sl.sl" \
"test func1 solib location"
gdb_test "python print (gdb.solib_name(func1))" "py-shared-sl.sl" \
"test func1 solib location using Value"
gdb_test "p &main" "" "main address"
-gdb_py_test_silent_cmd "python main = gdb.history(0)" "Aquire main address" 1
+gdb_py_test_silent_cmd "python main = gdb.history(0)" "Acquire main address" 1
gdb_test "python print (gdb.solib_name(int(main)))" "None" "test main solib location"
if {[is_lp64_target]} {
diff --git a/gdb/testsuite/gdb.python/py-xmethods.cc b/gdb/testsuite/gdb.python/py-xmethods.cc
index 34685e2..d7573d9 100644
--- a/gdb/testsuite/gdb.python/py-xmethods.cc
+++ b/gdb/testsuite/gdb.python/py-xmethods.cc
@@ -137,7 +137,7 @@ G<T>::mul (const T1 t1)
return t1 * t;
}
-} // namespaxe dop
+} // namespace dop
using namespace dop;
diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp
index 584e52c..062f87d 100644
--- a/gdb/testsuite/gdb.python/python.exp
+++ b/gdb/testsuite/gdb.python/python.exp
@@ -188,7 +188,7 @@ gdb_test "python print (a)" ".*aliases -- User-defined aliases of other commands
# Test PR 12212, using InfThread.selected_thread() when no inferior is
# loaded.
-gdb_py_test_silent_cmd "python nothread = gdb.selected_thread()" "Attempt to aquire thread with no inferior" 1
+gdb_py_test_silent_cmd "python nothread = gdb.selected_thread()" "Attempt to acquire thread with no inferior" 1
gdb_test "python print (nothread is None)" "True" "ensure that no threads are returned"
gdb_test_multiline "register atexit function" \
diff --git a/gdb/testsuite/gdb.threads/thread-specific-bp.exp b/gdb/testsuite/gdb.threads/thread-specific-bp.exp
index 2d1c71a..8929f19 100644
--- a/gdb/testsuite/gdb.threads/thread-specific-bp.exp
+++ b/gdb/testsuite/gdb.threads/thread-specific-bp.exp
@@ -72,7 +72,7 @@ proc check_thread_specific_breakpoint {non_stop} {
gdb_breakpoint "main thread $start_thre"
gdb_test "info break" ".*breakpoint.*thread $start_thre" "breakpoint set"
- # Set breakpoint at a place only reacheable after the "start"
+ # Set breakpoint at a place only reachable after the "start"
# thread exits.
gdb_breakpoint "end"
diff --git a/gdb/testsuite/lib/completion-support.exp b/gdb/testsuite/lib/completion-support.exp
index 275f887..ea73c3b 100644
--- a/gdb/testsuite/lib/completion-support.exp
+++ b/gdb/testsuite/lib/completion-support.exp
@@ -318,7 +318,7 @@ proc test_gdb_complete_multiple {
# Test that all the substring prefixes of INPUT from [0..START) to
# [0..END) complete to COMPLETION_RE (a regular expression). If END
-# is ommitted, default to the length of INPUT.
+# is omitted, default to the length of INPUT.
proc test_complete_prefix_range_re {input completion_re start {end -1}} {
if {$end == -1} {
@@ -345,7 +345,7 @@ proc test_complete_prefix_range_re {input completion_re start {end -1}} {
}
# Test that all the substring prefixes of COMPLETION from [0..START)
-# to [0..END) complete to COMPLETION. If END is ommitted, default to
+# to [0..END) complete to COMPLETION. If END is omitted, default to
# the length of COMPLETION.
proc test_complete_prefix_range {completion start {end -1}} {
diff --git a/gdb/testsuite/lib/gdb.exp b/gdb/testsuite/lib/gdb.exp
index 294d136..62e0b0b 100644
--- a/gdb/testsuite/lib/gdb.exp
+++ b/gdb/testsuite/lib/gdb.exp
@@ -1894,7 +1894,7 @@ proc gdb_test_list_exact { cmd name elm_find_regexp elm_extract_regexp result_ma
#
# Both inferior and gdb patterns must match for a PASS.
#
-# If MESSAGE is ommitted, then COMMAND will be used as the message.
+# If MESSAGE is omitted, then COMMAND will be used as the message.
#
# Returns:
# 1 if the test failed,
diff --git a/gdb/testsuite/lib/prelink-support.exp b/gdb/testsuite/lib/prelink-support.exp
index 747bb3a..40f2fe5 100644
--- a/gdb/testsuite/lib/prelink-support.exp
+++ b/gdb/testsuite/lib/prelink-support.exp
@@ -70,7 +70,7 @@ proc symlink_resolve {file} {
}
# Copy SRC to DEST, resolving any symlinks in SRC. Return nonzero iff
-# the copy was succesful.
+# the copy was successful.
#
# This function is guaranteed to never raise any exception, even when the copy
# fails.
@@ -107,7 +107,7 @@ proc file_copy {src dest} {
# depend on system libraries. To properly prelink an executable, all
# of its dynamically linked libraries must be prelinked as well. If
# the executable depends on some system libraries, we may not have
-# sufficient write priviledges on these files to perform the prelink.
+# sufficient write privileges on these files to perform the prelink.
# This is why we make a copy of these shared libraries, and link the
# executable against these copies instead.
#
diff --git a/gdb/testsuite/lib/read1.c b/gdb/testsuite/lib/read1.c
index 4b8bec1..2fc1bde 100644
--- a/gdb/testsuite/lib/read1.c
+++ b/gdb/testsuite/lib/read1.c
@@ -31,7 +31,7 @@
/* Default READMORE sleep time in miliseconds. */
#define READMORE_SLEEP_DEFAULT 10
-/* Helper function. Intialize *METHOD according to environment variable
+/* Helper function. Initialize *METHOD according to environment variable
READMORE_METHOD, and *SLEEP according to environment variable
READMORE_SLEEP. */