* target.h (struct target_ops) <to_supports_multi_process>: New
authorPedro Alves <palves@redhat.com>
Mon, 27 Oct 2008 12:43:24 +0000 (12:43 +0000)
committerPedro Alves <palves@redhat.com>
Mon, 27 Oct 2008 12:43:24 +0000 (12:43 +0000)
commit8a305172062baab75e6a3c61c971153558245551
tree9e396af11e2e0a3f87b003c6f154a7c518fd7414
parent676e87b3082eb253c4b3b7b2ce4ab4f3b241980d
* target.h (struct target_ops) <to_supports_multi_process>: New
field.
(target_supports_multi_process): New define.
* target.c (update_current_target): Inherit and de_fault
to_supports_multi_process.
* infcmd.c (attach_command): Allow attaching to multiple processes
if the target supports it.
(detach_command): If the target claims there is still execution,
don't clear the thread list.
* remote.c (remote_supports_multi_process): New.
(init_remote_ops): Register remote_supports_multi_process.
gdb/ChangeLog
gdb/infcmd.c
gdb/remote.c
gdb/target.c
gdb/target.h