aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog12
-rw-r--r--gdb/testsuite/gdb.base/bigcore.c4
-rw-r--r--gdb/testsuite/gdb.base/ctf-ptype.c2
-rw-r--r--gdb/testsuite/gdb.base/long_long.c2
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S2
-rw-r--r--gdb/testsuite/gdb.python/py-evthreads.c2
-rw-r--r--gdb/testsuite/gdb.reverse/i387-stack-reverse.c2
-rw-r--r--gdb/testsuite/gdb.trace/tfile.c2
-rw-r--r--gdb/testsuite/lib/compiler.c2
-rwxr-xr-xgdb/testsuite/lib/compiler.cc2
10 files changed, 22 insertions, 10 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index b4228ce..417c289 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,15 @@
+2019-10-26 Tom de Vries <tdevries@suse.de>
+
+ * gdb.base/bigcore.c: Fix typos in comments.
+ * gdb.base/ctf-ptype.c: Same.
+ * gdb.base/long_long.c: Same.
+ * gdb.dwarf2/dw2-op-out-param.S: Same.
+ * gdb.python/py-evthreads.c: Same.
+ * gdb.reverse/i387-stack-reverse.c: Same.
+ * gdb.trace/tfile.c: Same.
+ * lib/compiler.c: Same.
+ * lib/compiler.cc: Same.
+
2019-10-25 Tom de Vries <tdevries@suse.de>
* gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
diff --git a/gdb/testsuite/gdb.base/bigcore.c b/gdb/testsuite/gdb.base/bigcore.c
index 0507744..3ac7ca9 100644
--- a/gdb/testsuite/gdb.base/bigcore.c
+++ b/gdb/testsuite/gdb.base/bigcore.c
@@ -121,7 +121,7 @@ maximize_rlimit (int resource, const char *prefix)
print_string ("\n");
}
-/* Maintain a doublely linked list. */
+/* Maintain a doubly linked list. */
struct list
{
struct list *next;
@@ -194,7 +194,7 @@ main ()
}
/* Compute an initial chunk size. The math is dodgy but it works
- for the moment. Perhaphs there's a constant around somewhere.
+ for the moment. Perhaps there's a constant around somewhere.
Limit this to max_core_size bytes - no point in trying to
allocate more than can be written to the corefile. */
{
diff --git a/gdb/testsuite/gdb.base/ctf-ptype.c b/gdb/testsuite/gdb.base/ctf-ptype.c
index 2d2e881..5d3580d 100644
--- a/gdb/testsuite/gdb.base/ctf-ptype.c
+++ b/gdb/testsuite/gdb.base/ctf-ptype.c
@@ -17,7 +17,7 @@
/*
* Test file with lots of different types, for testing the
- * "ptype" command on CTF data. It's devired from ptype.c.
+ * "ptype" command on CTF data. It's derived from ptype.c.
*/
/*
diff --git a/gdb/testsuite/gdb.base/long_long.c b/gdb/testsuite/gdb.base/long_long.c
index 9d0393d..2451585 100644
--- a/gdb/testsuite/gdb.base/long_long.c
+++ b/gdb/testsuite/gdb.base/long_long.c
@@ -80,7 +80,7 @@ int known_types()
int main() {
- /* Pack Byte, Half, Word and Giant arrays with byte-orderd values.
+ /* Pack Byte, Half, Word and Giant arrays with byte-ordered values.
That way "(gdb) x" gives the same output on different
architectures. */
pack (b, 1, 2);
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S b/gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S
index 09b5155..169eb04 100644
--- a/gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S
+++ b/gdb/testsuite/gdb.dwarf2/dw2-op-out-param.S
@@ -28,7 +28,7 @@
like gdb to behave in a user friendly, and helpful way when presented
with such dwarf. */
-/* There are 4 test cases in this assembler file. In each case funcion
+/* There are 4 test cases in this assembler file. In each case function
main calls each test function in turn, each test case then calls the
breakpt function.
diff --git a/gdb/testsuite/gdb.python/py-evthreads.c b/gdb/testsuite/gdb.python/py-evthreads.c
index 2f55815..f824945 100644
--- a/gdb/testsuite/gdb.python/py-evthreads.c
+++ b/gdb/testsuite/gdb.python/py-evthreads.c
@@ -33,7 +33,7 @@ void* thread3 (void* d)
void* thread2 (void* d)
{
/* Do not quit thread3 asynchronously wrt thread2 stop - wait first on
- thread3_id to stop. It would complicate testcase receiption of the
+ thread3_id to stop. It would complicate testcase reception of the
events. */
pthread_create (&thread3_id, NULL, thread3, NULL); pthread_join (thread3_id, NULL);
diff --git a/gdb/testsuite/gdb.reverse/i387-stack-reverse.c b/gdb/testsuite/gdb.reverse/i387-stack-reverse.c
index 8c690f7..93d3f46 100644
--- a/gdb/testsuite/gdb.reverse/i387-stack-reverse.c
+++ b/gdb/testsuite/gdb.reverse/i387-stack-reverse.c
@@ -14,7 +14,7 @@ void empty_fpu_stack()
"ffree %st(7)");
}
-/* tests floating point arithmatic */
+/* tests floating point arithmetic */
void test_arith_floats()
{
diff --git a/gdb/testsuite/gdb.trace/tfile.c b/gdb/testsuite/gdb.trace/tfile.c
index 51d464e..402a2d5 100644
--- a/gdb/testsuite/gdb.trace/tfile.c
+++ b/gdb/testsuite/gdb.trace/tfile.c
@@ -176,7 +176,7 @@ write_basic_trace_file (void)
/* Make up a simulated trace buffer. */
/* (Encapsulate better if we're going to do lots of this; note that
- buffer endianness is the target program's enddianness.) */
+ buffer endianness is the target program's endianness.) */
trptr = trbuf;
tfile_write_16 (1);
diff --git a/gdb/testsuite/lib/compiler.c b/gdb/testsuite/lib/compiler.c
index 9b8400a..917b4ee 100644
--- a/gdb/testsuite/lib/compiler.c
+++ b/gdb/testsuite/lib/compiler.c
@@ -45,7 +45,7 @@ set compiler_info [join {gcc __GNUC__ __GNUC_MINOR__ "unknown"} -]
#if defined (__xlc__)
/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
- numbers seperated by '.'s: currently "7.0.0.0" */
+ numbers separated by '.'s: currently "7.0.0.0" */
set need_a_set [regsub -all {\.} [join {xlc __xlc__} -] - compiler_info]
#endif
diff --git a/gdb/testsuite/lib/compiler.cc b/gdb/testsuite/lib/compiler.cc
index 9faeaa2..a9e69ba 100755
--- a/gdb/testsuite/lib/compiler.cc
+++ b/gdb/testsuite/lib/compiler.cc
@@ -33,7 +33,7 @@ set compiler_info [join {gcc __GNUC__ __GNUC_MINOR__ "unknown"} -]
#if defined (__xlc__)
/* IBM'x xlc compiler. NOTE: __xlc__ expands to a double quoted string of four
- numbers seperated by '.'s: currently "7.0.0.0" */
+ numbers separated by '.'s: currently "7.0.0.0" */
set need_a_set [regsub -all {\.} [join {xlc __xlc__} -] - compiler_info]
#endif