diff options
author | Pedro Alves <palves@redhat.com> | 2009-04-01 22:29:33 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2009-04-01 22:29:33 +0000 |
commit | 2bd7c093f663139ad9e57ddc748ade12f6bfbe01 (patch) | |
tree | be36f0052daf9c01fb4dd489532987aa2bb5b7d4 /gdb/gdbserver/target.h | |
parent | c35fafde7ca3b92581dee5c0ed445de3c667ab2d (diff) | |
download | gdb-2bd7c093f663139ad9e57ddc748ade12f6bfbe01.zip gdb-2bd7c093f663139ad9e57ddc748ade12f6bfbe01.tar.gz gdb-2bd7c093f663139ad9e57ddc748ade12f6bfbe01.tar.bz2 |
* target.h (struct thread_resume): Delete leave_stopped member.
(struct target_ops): Add a `n' argument to the `resume' callback.
* server.c (start_inferior): Adjust.
(handle_v_cont, myresume): Adjust.
* linux-low.c (check_removed_breakpoint): Adjust to resume
interface change, and to removed leave_stopped field.
(resume_ptr): Delete.
(struct thread_resume_array): New.
(linux_set_resume_request): Add new `arg' parameter. Adjust to
resume interface change.
(linux_continue_one_thread, linux_queue_one_thread)
(resume_status_pending_p): Check if the resume field is NULL
instead of checking the leave_stopped member.
(linux_resume): Adjust to the target resume interface change.
* spu-low.c (spu_resume): Adjust to the target resume interface
change.
* win32-low.c (win32_detach, win32_resume): Ditto.
Diffstat (limited to 'gdb/gdbserver/target.h')
-rw-r--r-- | gdb/gdbserver/target.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index ca0135f..5bd5896 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -22,18 +22,15 @@ #ifndef TARGET_H #define TARGET_H -/* This structure describes how to resume a particular thread (or - all threads) based on the client's request. If thread is -1, then - this entry applies to all threads. These are generally passed around - as an array, and terminated by a thread == -1 entry. */ +/* This structure describes how to resume a particular thread (or all + threads) based on the client's request. If thread is -1, then this + entry applies to all threads. These are passed around as an + array. */ struct thread_resume { unsigned long thread; - /* If non-zero, leave this thread stopped. */ - int leave_stopped; - /* If non-zero, we want to single-step. */ int step; @@ -83,7 +80,7 @@ struct target_ops /* Resume the inferior process. */ - void (*resume) (struct thread_resume *resume_info); + void (*resume) (struct thread_resume *resume_info, size_t n); /* Wait for the inferior process to change state. |