From 637fd620a74a22d59a4e10efea00a9d2af16b2c7 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 20 Feb 2012 09:42:34 +0000 Subject: 2012-02-20 Tristan Gingold * darwin-nat.h (enum darwin_msg_state): Add comments. --- gdb/ChangeLog | 4 ++++ gdb/darwin-nat.h | 12 +++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'gdb') 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 + * darwin-nat.h (enum darwin_msg_state): Add comments. + +2012-02-20 Tristan Gingold + * 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 { -- cgit v1.1