diff options
author | Luis Machado <luisgpm@br.ibm.com> | 2013-07-24 16:20:12 +0000 |
---|---|---|
committer | Luis Machado <luisgpm@br.ibm.com> | 2013-07-24 16:20:12 +0000 |
commit | 3360c0bf75c98188a29b2ea29183a0bdc33b5801 (patch) | |
tree | 0a1144597538d9f9a1b9c4fca782944bbb8c7128 /gdb/linux-nat.h | |
parent | 7e8b059be6b6b97b611b034e90f576c1479bdf75 (diff) | |
download | gdb-3360c0bf75c98188a29b2ea29183a0bdc33b5801.zip gdb-3360c0bf75c98188a29b2ea29183a0bdc33b5801.tar.gz gdb-3360c0bf75c98188a29b2ea29183a0bdc33b5801.tar.bz2 |
gdb/
* Makefile.in (SFILES): Add common/target-common.c.
Add common/target-common.h to headers.
(COMMON_OBS): Add target-common.o.
(target-common.o): New target.
* linux-nat.h (resume_kind): Move to common/target-common.h.
* target.c (target_waitstatus_to_string): Move to
common/target-common.c.
* target.h: Include target-common.h.
(target_waitkind): Move to common/target-common.h.
(target_waitstatus): Likewise.
(TARGET_WNOHANG): Likewise.
* common/target-common.c: New file.
* common/target-common.h: New file.
gdb/gdbserver/
* Makefile.in (SFILES): /common/target-common.c.
(OBS): Add target-common.o.
(server_h): Add $(srcdir)/../common/target-common.h.
(target-common.o): New target.
* server.c (queue_stop_reply_callback): Free
status string after use.
* target.c (target_waitstatus_to_string): Remove.
* target.h: Include target-common.h.
(resume_kind): Likewise.
(target_waitkind): Likewise.
(target_waitstatus): Likewise.
(TARGET_WNOHANG): Likewise.
Diffstat (limited to 'gdb/linux-nat.h')
-rw-r--r-- | gdb/linux-nat.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gdb/linux-nat.h b/gdb/linux-nat.h index 3de866d..cb8f1da 100644 --- a/gdb/linux-nat.h +++ b/gdb/linux-nat.h @@ -23,20 +23,6 @@ struct arch_lwp_info; -/* 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. */ |