From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2628 invoked by alias); 12 Sep 2008 15:36:45 -0000 Received: (qmail 2613 invoked by uid 22791); 12 Sep 2008 15:36:45 -0000 X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 12 Sep 2008 15:36:10 +0000 Received: (qmail 11923 invoked from network); 12 Sep 2008 15:36:08 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 12 Sep 2008 15:36:08 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [RFA 00/08] multi-process support Date: Fri, 12 Sep 2008 15:36:00 -0000 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809121636.06964.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00257.txt.bz2 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