From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15638 invoked by alias); 8 May 2009 16:09:07 -0000 Received: (qmail 15626 invoked by uid 22791); 8 May 2009 16:09:05 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.4) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 08 May 2009 16:09:00 +0000 Received: (qmail 10686 invoked from network); 8 May 2009 16:08:58 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 8 May 2009 16:08:58 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: 'target remote' and the return of pid 42000 Date: Fri, 08 May 2009 16:09:00 -0000 User-Agent: KMail/1.9.10 Cc: "Marc Khouzam" References: <6D19CA8D71C89C43A057926FE0D4ADAA0765C688@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA0765C688@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200905081708.52973.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: 2009-05/txt/msg00043.txt.bz2 On Friday 08 May 2009 17:04:49, Marc Khouzam wrote: > When I use 'target remote' to connect to it, the pid reported by > GDB is 42000. > I know this pid is used when the real pid is not known. However, > when using 'target extended-remote' GDB reports the proper pid. > > Is this normal behavior? Yes, "target remote" doesn't support the remote multi-process extensions; only "target extended-remote" does. -- Pedro Alves