aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
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')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/darwin-nat.h12
2 files changed, 15 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 5ca1510..882e420 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2012-02-20 Tristan Gingold <gingold@adacore.com>
+ * darwin-nat.h (enum darwin_msg_state): Add comments.
+
+2012-02-20 Tristan Gingold <gingold@adacore.com>
+
* amd64-darwin-tdep.c (x86_darwin_init_abi_64): Fix jb_pc_offset
value.
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
{