gdbthread.h: Fix comment typo

gdb/ChangeLog:
2017-04-19  Pedro Alves  <palves@redhat.com>

	* gdbthread.h (thread): Add missing closing parenthesis in
	comment.
This commit is contained in:
Pedro Alves 2017-04-19 13:16:05 +01:00
parent 3a3fd0fd2c
commit a6c21d4a55
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2017-04-19 Pedro Alves <palves@redhat.com>
* gdbthread.h (thread): Add missing closing parenthesis in
comment.
2017-04-19 Pedro Alves <palves@redhat.com>
* common/refcounted-object.h: New file.

View File

@ -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