From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10174 invoked by alias); 10 Jul 2012 21:06:57 -0000 Received: (qmail 10155 invoked by uid 22791); 10 Jul 2012 21:06:56 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Jul 2012 21:06:41 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Sohdo-0007Bs-TF from Vladimir_Prus@mentor.com ; Tue, 10 Jul 2012 14:06:40 -0700 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 10 Jul 2012 14:05:47 -0700 Received: from [172.30.88.150] (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.1.289.1; Tue, 10 Jul 2012 22:06:39 +0100 Message-ID: <4FFC995C.8000308@codesourcery.com> Date: Tue, 10 Jul 2012 21:06:00 -0000 From: Vladimir Prus User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: Marc Khouzam CC: "'gdb@sourceware.org'" Subject: Re: Multiple inferiors and memory consumption References: <4FFB3F86.2000109@codesourcery.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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/msg00020.txt.bz2 On 11.07.2012 00:35, Marc Khouzam wrote: > >> And now for my real question -- is there any case when using >> multi-process to debug several applications >> not related via parent-child relationship is better than >> running N copies of GDB? > > 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. Well, yeah. Which seems like a limitation, not feature ;-) -- Vladimir Prus CodeSourcery / Mentor Graphics http://www.mentor.com/embedded-software/