diff options
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r-- | gdb/linux-nat.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index 12fda0f..6175f3a 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -22,6 +22,20 @@ #include <signal.h> +/* Ways to "resume" a thread. */ + +enum resume_kind +{ + /* Thread should continue. */ + resume_continue, + + /* Thread should single-step. */ + resume_step, + + /* Thread should be stopped. */ + resume_stop +}; + /* Structure describing an LWP. This is public only for the purposes of ALL_LWPS; target-specific code should generally not access it directly. */ @@ -52,6 +66,9 @@ struct lwp_info didn't try to let the LWP run. */ int resumed; + /* The last resume GDB requested on this thread. */ + enum resume_kind last_resume_kind; + /* If non-zero, a pending wait status. */ int status; |