aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2017-04-19 13:16:05 +0100
committerPedro Alves <palves@redhat.com>2017-04-19 13:16:05 +0100
commita6c21d4a553de184562fd8409a5bcd3f2cc2561a (patch)
treefc660d6da04efbd291797e3c1921f5d9a1d2b27f
parent3a3fd0fd2c4c87fdd588c51d879961a49e38f0c1 (diff)
downloadgdb-a6c21d4a553de184562fd8409a5bcd3f2cc2561a.zip
gdb-a6c21d4a553de184562fd8409a5bcd3f2cc2561a.tar.gz
gdb-a6c21d4a553de184562fd8409a5bcd3f2cc2561a.tar.bz2
gdbthread.h: Fix comment typo
gdb/ChangeLog: 2017-04-19 Pedro Alves <palves@redhat.com> * gdbthread.h (thread): Add missing closing parenthesis in comment.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/gdbthread.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e260896..b30e63f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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.
* gdbthread.h: Include "common/refcounted-object.h".
(thread_info): Inherit from refcounted_object and add comments.
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