[PATCH v3 4/6] Remove obsolete comment from gdbthread.h

Tom Tromey via Gdb-patches
2023-07-13T14:06:38Z

A comment in gdbthread.h refers to a global that no longer exists.

Approved-By: Pedro Alves <pedro@palves.net>
---
gdb/gdbthread.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h
index 7135515bf45..d294be6762b 100644
--- a/gdb/gdbthread.h
+++ b/gdb/gdbthread.h
@@ -764,7 +764,7 @@ extern int thread_count (process_stratum_target *proc_target);
/* Return true if we have any thread in any inferior. */
extern bool any_thread_p ();

-/* Switch context to thread THR. Also sets the STOP_PC global. */
+/* Switch context to thread THR. */
extern void switch_to_thread (struct thread_info *thr);

/* Switch context to no thread selected. */

--
2.40.1