From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7435 invoked by alias); 10 Jul 2012 20:59:56 -0000 Received: (qmail 7427 invoked by uid 22791); 10 Jul 2012 20:59:54 -0000 X-SWARE-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from ausxipps301.us.dell.com (HELO ausxipps301.us.dell.com) (143.166.148.223) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Jul 2012 20:59:41 +0000 X-Loopcount0: from 10.175.216.249 From: To: CC: , Subject: Re: Multiple inferiors and memory consumption Date: Tue, 10 Jul 2012 20:59:00 -0000 Message-ID: References: <4FFB3F86.2000109@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset="us-ascii" Content-ID: <55C9294C06845A4A9E5CFE8B56AA13DD@dell.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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: 2012-07/txt/msg00019.txt.bz2 On Jul 10, 2012, at 4:35 PM, Marc Khouzam wrote: >=20 >> And now for my real question -- is there any case when using=20 >> multi-process to debug several applications >> not related via parent-child relationship is better than=20 >> running N copies of GDB? >=20 > For the sake of completeness, let me mention the obvious. > When doing remote debugging, only one GDB can connect > to the target, so multi-process is the only option to debug > several applications. True if you have a centralized stub. If you have gdbserver implemented, yo= u can run multiple instances of that, OS permitting. paul