From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10720 invoked by alias); 6 Apr 2011 19:30:00 -0000 Received: (qmail 10645 invoked by uid 22791); 6 Apr 2011 19:29:59 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Apr 2011 19:29:54 +0000 Received: (qmail 31479 invoked from network); 6 Apr 2011 19:29:53 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 6 Apr 2011 19:29:53 -0000 From: Pedro Alves To: Kevin Pouget Subject: Re: Multiple remote inferiors Date: Wed, 06 Apr 2011 19:30:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-28-generic; KDE/4.6.1; x86_64; ; ) Cc: gdb@sourceware.org References: <201104061844.01479.pedro@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104062029.52921.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: 2011-04/txt/msg00015.txt.bz2 On Wednesday 06 April 2011 19:50:15, Kevin Pouget wrote: > yes, sure, I wanted to use only the "remote" target stack to connect > GDB to 2 different inferiors > > "start" seems not to be used with the remote/extended remote ("No > symbol table loaded. Use the "file" command.") target, So do what it says. :-) Each inferior has its own set of symbols, so you get to use "file" to load the executable into GDB, just like if you had a simple inferior and did: $ gdb (gdb) tar extended-remote :xxxx ... (gdb) start No symbol table loaded. Use the "file" command. You can use "add-inferior -exec " as shortcut. -- Pedro Alves