From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22298 invoked by alias); 29 Jul 2008 13:34:56 -0000 Received: (qmail 22287 invoked by uid 22791); 29 Jul 2008 13:34:53 -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; Tue, 29 Jul 2008 13:34:36 +0000 Received: (qmail 2977 invoked from network); 29 Jul 2008 13:34:34 -0000 Received: from unknown (HELO orlando.local) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 29 Jul 2008 13:34:34 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Multiprogram teaser Date: Tue, 29 Jul 2008 13:51:00 -0000 User-Agent: KMail/1.9.9 Cc: "Marc Khouzam" , jeremy.bennett@embecosm.com References: <6D19CA8D71C89C43A057926FE0D4ADAA04291275@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA04291275@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200807291431.26977.pedro@codesourcery.com> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-07/txt/msg00289.txt.bz2 On Tuesday 29 July 2008 14:13:40, Marc Khouzam wrote: > We are currently preparing Eclipse/DSF to support multi-process debugging, > both locally and remotely. > We should have something workable for September. > But I'm not sure GDB will support this for linux or windows at that time. Remote multi-process for your OS, certainly; linux, we not there yet, but it's likelly; Windows, I may get around to work on it, but unless someone else steps up, I don't see it happen by September. > Note that I say "multi-process" and not "multi-program". The reason > is that what we are doing will support multi-debugging using > the 'attach' command. So, you can imagine having a running system > with many processes, and you could then attach to multiple ones. Yeah, in your case, all processes share the same program/exec, and its libraries. Thinking in unix terms, it's like debugging a bunch of forks. I'm going to be pushing remote GDB support for that next. > Multi-program, gives me the impression that the debugged processes > will be started by GDB itself. Could also be attached processes. But, in extension to what you/we've been doing, we'll be able to attach to processes that run different execs/programs. Say attach to both /bin/cat and /bin/echo. > I believe that is what Stan is > aiming at, right? This would also fit in Eclipse/DSF, but is not > in our short term planning. But maybe later... It's the natural extension of what you/we've been doing. We're not there yet to start working on the details of what will have to evolve on the MI side, on top of the multi process extensions that Vladimir cooked up. -- Pedro Alves