From a6c21d4a553de184562fd8409a5bcd3f2cc2561a Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Wed, 19 Apr 2017 13:16:05 +0100 Subject: gdbthread.h: Fix comment typo gdb/ChangeLog: 2017-04-19 Pedro Alves * gdbthread.h (thread): Add missing closing parenthesis in comment. --- gdb/gdbthread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbthread.h') diff --git a/gdb/gdbthread.h b/gdb/gdbthread.h index 33977ee..68427e9 100644 --- a/gdb/gdbthread.h +++ b/gdb/gdbthread.h @@ -186,7 +186,7 @@ typedef VEC (value_ptr) value_vec; inferior_ptid global. However, when GDB needs to remember the selected thread to later restore it, GDB bumps the thread object's refcount, to prevent something deleting the thread object before - reverting back (e.g., due to a "kill" command. If the thread + reverting back (e.g., due to a "kill" command). If the thread meanwhile exits before being re-selected, then the thread object is left listed in the thread list, but marked with state THREAD_EXITED. (See make_cleanup_restore_current_thread and -- cgit v1.1