From 32d1f47a126567f24be18e7cadf5d2490968c986 Mon Sep 17 00:00:00 2001 From: Tankut Baris Aktemur Date: Tue, 28 Apr 2020 11:30:52 +0200 Subject: [PATCH] Fix typo (thead -> thread) gdb/stubs/ChangeLog: 2020-04-28 Tankut Baris Aktemur * ia64vms-stub.c: Fix typo in comment (thead -> thread). gdb/testsuite/ChangeLog: 2020-04-28 Tankut Baris Aktemur * gdb.threads/stop-with-handle.exp: Fix typo in comment (theads -> threads). gdbsupport/ChangeLog: 2020-04-28 Tankut Baris Aktemur * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask). --- gdb/stubs/ChangeLog | 4 ++++ gdb/stubs/ia64vms-stub.c | 2 +- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.threads/stop-with-handle.exp | 2 +- gdbsupport/ChangeLog | 4 ++++ gdbsupport/gdb-sigmask.h | 2 +- 6 files changed, 16 insertions(+), 3 deletions(-) diff --git a/gdb/stubs/ChangeLog b/gdb/stubs/ChangeLog index 835aed9d7af..a5cfae06045 100644 --- a/gdb/stubs/ChangeLog +++ b/gdb/stubs/ChangeLog @@ -1,3 +1,7 @@ +2020-04-28 Tankut Baris Aktemur + + * ia64vms-stub.c: Fix typo in comment (thead -> thread). + 2019-10-26 Tom de Vries * ia64vms-stub.c: Fix typos in comments. diff --git a/gdb/stubs/ia64vms-stub.c b/gdb/stubs/ia64vms-stub.c index 771d4a1b4e2..740a61b2510 100644 --- a/gdb/stubs/ia64vms-stub.c +++ b/gdb/stubs/ia64vms-stub.c @@ -776,7 +776,7 @@ set_thread_scheduling (int val) return blk.dbgext$l_stop_value; } -/* Get next thead (after THR). Start with 0. */ +/* Get next thread (after THR). Start with 0. */ static unsigned int thread_next (unsigned int thr) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2d26a5e90ed..5544a1773b0 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2020-04-28 Tankut Baris Aktemur + + * gdb.threads/stop-with-handle.exp: Fix typo in comment + (theads -> threads). + 2020-04-28 Tom de Vries * gdb.opt/inline-cmds.exp: Set KFAIL PR. diff --git a/gdb/testsuite/gdb.threads/stop-with-handle.exp b/gdb/testsuite/gdb.threads/stop-with-handle.exp index 22085361f5d..24610f96194 100644 --- a/gdb/testsuite/gdb.threads/stop-with-handle.exp +++ b/gdb/testsuite/gdb.threads/stop-with-handle.exp @@ -15,7 +15,7 @@ # This test covers a case where SIGSTOP has been configured to be # passed to the target with GDB's 'handle' command, and then a -# multi-threaded inferior encounters an event that causes all theads +# multi-threaded inferior encounters an event that causes all threads # to be stopped. # # The problem that (used) to exist was that GDB would see the SIGSTOP, diff --git a/gdbsupport/ChangeLog b/gdbsupport/ChangeLog index b071049ae73..194811e65cb 100644 --- a/gdbsupport/ChangeLog +++ b/gdbsupport/ChangeLog @@ -1,3 +1,7 @@ +2020-04-28 Tankut Baris Aktemur + + * gdb-sigmask.h: Fix typo (pthead_sigmask -> pthread_sigmask). + 2020-04-27 Simon Marchi * common-defs.h: Include cstdlib.h. diff --git a/gdbsupport/gdb-sigmask.h b/gdbsupport/gdb-sigmask.h index cd58c549777..91d84db7b38 100644 --- a/gdbsupport/gdb-sigmask.h +++ b/gdbsupport/gdb-sigmask.h @@ -36,7 +36,7 @@ system that only had pthread_sigmask, we could still use it with some extra changes. */ #ifdef HAVE_PTHREAD_SIGMASK -#error pthead_sigmask available without sigprocmask - please report +#error pthread_sigmask available without sigprocmask - please report #endif #endif /* HAVE_SIGPROCMASK */ -- 2.30.2