This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA 00/08] multi-process support
- From: Pedro Alves <pedro at codesourcery dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 12 Sep 2008 16:36:06 +0100
- Subject: [RFA 00/08] multi-process support
Hi,
This series of patches adds basic multi-process support to GDB, and
implement multi-process support in the remote target.
"Basic" above means, just enough multi-process to support targets where all
processes load the same symbols at the same addresses, and, all process
share the list of loaded libraries, and, the debug api manages to
make inserted breakpoints visible to all processes. We happen to have
been working with such a system -- Ericsson DICOS.
We also have been working on multi-process + non-stop support for
linux gdbserver, which builds on top of this support. That will come
in later.
This patch series start adding support for the above by doing the
following things:
- Adding a "struct inferior", and moving per-inferior things into this
structure.
- Adding an inferior list, and expose it similarly to the gdb thread
list.
- Making all targets add and remove inferiors from the list.
- Implement the multi-process remote protocol extensions.
- Fix up a couple of exposed issues here and there.
--
Pedro Alves