[binutils-gdb] Remove obsolete comment from gdbthread.h

Tom Tromey tromey@sourceware.org
Fri Jul 14 19:43:24 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=eeaffa60ebbfdbcdca3aa2deb1ac97c57460225d

commit eeaffa60ebbfdbcdca3aa2deb1ac97c57460225d
Author: Tom Tromey <tromey@adacore.com>
Date:   Fri Jul 7 08:16:02 2023 -0600

    Remove obsolete comment from gdbthread.h
    
    A comment in gdbthread.h refers to a global that no longer exists.
    
    Approved-By: Pedro Alves <pedro@palves.net>

Diff:
---
 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.  */


More information about the Gdb-cvs mailing list