aboutsummaryrefslogtreecommitdiff
path: root/gdb/darwin-nat.h
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2012-02-20 09:42:34 +0000
committerTristan Gingold <gingold@adacore.com>2012-02-20 09:42:34 +0000
commit637fd620a74a22d59a4e10efea00a9d2af16b2c7 (patch)
tree46dcc7c76e65d2937443937b3e5c4fe05f3a3de9 /gdb/darwin-nat.h
parent6f1248943ba899577d875a70e3e4b6057a048337 (diff)
downloadgdb-637fd620a74a22d59a4e10efea00a9d2af16b2c7.zip
gdb-637fd620a74a22d59a4e10efea00a9d2af16b2c7.tar.gz
gdb-637fd620a74a22d59a4e10efea00a9d2af16b2c7.tar.bz2
2012-02-20 Tristan Gingold <gingold@adacore.com>
* darwin-nat.h (enum darwin_msg_state): Add comments.
Diffstat (limited to 'gdb/darwin-nat.h')
-rw-r--r--gdb/darwin-nat.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gdb/darwin-nat.h b/gdb/darwin-nat.h
index c74af1d..6c89299 100644
--- a/gdb/darwin-nat.h
+++ b/gdb/darwin-nat.h
@@ -61,7 +61,17 @@ struct darwin_exception_msg
integer_t ex_data[2];
};
-enum darwin_msg_state { DARWIN_RUNNING, DARWIN_STOPPED, DARWIN_MESSAGE };
+enum darwin_msg_state
+{
+ /* The thread is running. */
+ DARWIN_RUNNING,
+
+ /* The thread is stopped. */
+ DARWIN_STOPPED,
+
+ /* The thread has sent a message and waits for a reply. */
+ DARWIN_MESSAGE
+};
struct private_thread_info
{