OSDN Git Service

* target.h (target_ops): Change return type of detach to int.
authorpalves <palves>
Thu, 10 May 2007 21:05:15 +0000 (21:05 +0000)
committerpalves <palves>
Thu, 10 May 2007 21:05:15 +0000 (21:05 +0000)
commit797a9a1bb72823538e216ac5cdf75c82aea416d7
tree0c5e86ddf7d45f8b257c84acf00a62a4d7a41ee7
parent783c1dbf36138eef8dc30fdd31ce17567915aa56
* target.h (target_ops): Change return type of detach to int.
Add join.
(join_inferior): New.
* server.c (main): Don't skip detach support on mingw32.
If the inferior doesn't support detaching return error.
Call join_inferior instead of using waitpid.
* linux-low.c (linux_join): New.
(linux_target_op): Add linux_join.
* spu-low.c (spu_join): New.
(spu_target_ops): Add spu_join.
* win32-low.c (win32_detach): Adapt to new interface.
Reopen current_process_handle before detaching.  Issue a child
resume before detaching.
(win32_join): New.
(win32_target_op): Add win32_join.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/server.c
gdb/gdbserver/spu-low.c
gdb/gdbserver/target.h
gdb/gdbserver/win32-low.c