2009-06-19 Aleksandar Ristovski <aristovski@qnx.com>
authorPedro Alves <palves@redhat.com>
Fri, 19 Jun 2009 13:35:35 +0000 (13:35 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 19 Jun 2009 13:35:35 +0000 (13:35 +0000)
commitcf8fd78b3890f7c0a8050f7dc6cefaa8918374f9
tree87acb8302fad51432a54c125a357661c2a7666c3
parent5e7c27a6076edbd535b3988449c0f24b40ac2371
2009-06-19  Aleksandar Ristovski  <aristovski@qnx.com>
    Pedro Alves <pedro@codesourcery.com>

* target.h (struct target_ops) <supports_multi_process>: New
callback.
(target_supports_multi_process): New.
* server.c (handle_query): Even if GDB reports support, only
enable multi-process if the target also supports it.  Report
multi-process support only if the target backend supports it.
* linux-low.c (linux_supports_multi_process): New function.
(linux_target_ops): Install it as target_supports_multi_process
callback.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c
gdb/gdbserver/server.c
gdb/gdbserver/target.h