/* Common things used by the various darwin files
- Copyright (C) 1995-1997, 1999-2000, 2007-2012 Free Software
- Foundation, Inc.
+ Copyright (C) 1995-2014 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
+ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef __DARWIN_NAT_H__
#define __DARWIN_NAT_H__
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
{