Pedro Alves
444d61395b
* 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.
2007-05-10 21:05:15 +00:00
Pedro Alves
1d5315fee9
* win32-low.c (win32-attach): Fix return value.
...
* target.h (target_ops): Describe ATTACH return values.
2007-05-10 20:48:41 +00:00
Pedro Alves
bf91483160
* win32-low.c (GETPROCADDRESS): Define.
...
(winapi_DebugActiveProcessStop): Add WINAPI. typedef as pointer.
(winapi_DebugSetProcessKillOnExit): Likewise.
(win32_create_inferior): Force usage of ansi CreateProcessA.
(win32_attach): Use GETPROCADDRESS.
(win32_detach): Likewise.
2007-05-10 20:39:18 +00:00
Pedro Alves
f72f3e600b
* win32-low.c (win32_wait): Don't use WSTOPSIG.
2007-05-10 20:25:01 +00:00
Pedro Alves
ed50f18f18
* win32-low.c: Commit leftover changes from 2007-03-29.
2007-03-30 20:28:24 +00:00
Pedro Alves
41093d8184
* win32-low.c: Rename typedef thread_info to
...
win32_thread_info throughout.
2007-03-28 22:12:31 +00:00
Pedro Alves
544afa546f
* win32-i386-low.c: Rename to ...
...
* win32-low.c: ... this.
* configure.srv: Replace win32-i386-low.o with win32-low.o.
* Makefile.in: Likewise.
2007-03-28 22:00:15 +00:00