This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
darwin-nat.h: add a few comments
- From: Tristan Gingold <gingold at adacore dot com>
- To: "gdb-patches at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Mon, 20 Feb 2012 10:42:19 +0100
- Subject: darwin-nat.h: add a few comments
Never hurt…
COmmitted on trunk.
Tristan.
2012-02-20 Tristan Gingold <gingold@adacore.com>
* darwin-nat.h (enum darwin_msg_state): Add comments.
diff -c -r1.6 darwin-nat.h
*** darwin-nat.h 4 Jan 2012 08:17:00 -0000 1.6
--- darwin-nat.h 20 Feb 2012 09:42:10 -0000
***************
*** 61,67 ****
integer_t ex_data[2];
};
! enum darwin_msg_state { DARWIN_RUNNING, DARWIN_STOPPED, DARWIN_MESSAGE };
struct private_thread_info
{
--- 61,77 ----
integer_t ex_data[2];
};
! 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
{