2012-02-20 Tristan Gingold <gingold@adacore.com>
authorTristan Gingold <gingold@adacore.com>
Mon, 20 Feb 2012 09:42:34 +0000 (09:42 +0000)
committerTristan Gingold <gingold@adacore.com>
Mon, 20 Feb 2012 09:42:34 +0000 (09:42 +0000)
* darwin-nat.h (enum darwin_msg_state): Add comments.

gdb/ChangeLog
gdb/darwin-nat.h

index 5ca151003c3042ed8175b7a675362e7e6eed1f54..882e420c40c396f1eec5dfcf3cfcb31275764c8d 100644 (file)
@@ -1,3 +1,7 @@
+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
index c74af1d3f3d99dc99080ddfec9b4ffcb7d20c063..6c892991070f25f0e9a432567d56eced2e4eda45 100644 (file)
@@ -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
 {