From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32166 invoked by alias); 30 Apr 2009 19:49:44 -0000 Received: (qmail 32156 invoked by uid 22791); 30 Apr 2009 19:49:44 -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; Thu, 30 Apr 2009 19:49:39 +0000 Received: (qmail 27775 invoked from network); 30 Apr 2009 19:49:37 -0000 Received: from unknown (HELO orlando) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 30 Apr 2009 19:49:37 -0000 From: Pedro Alves To: gdb@sourceware.org Subject: Re: Does HEAD support non-stop with 'gdbserver --multi' on Linux? Date: Thu, 30 Apr 2009 20:20:00 -0000 User-Agent: KMail/1.9.10 Cc: "Marc Khouzam" References: <6D19CA8D71C89C43A057926FE0D4ADAA075CAD65@ecamlmw720.eamcs.ericsson.se> In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA075CAD65@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904302049.49881.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-04/txt/msg00243.txt.bz2 Hi Marc, On Thursday 30 April 2009 20:39:47, Marc Khouzam wrote: > In the last couple months there has been a set of patches about > non-stop/multi-process > for gdbserver and GDB for Linux from Pedro. Sadly, I wasn't able to > keep track of what went > in and all the functionality they supported. > > I'm trying HEAD with: > - gdbserver --multi Note that --multi is not about multi-process in the same sense you're talking about. It is a preexisting option that means that gdbserver will stay persistent even when the inferior exits. It also enables starting up gdbserver without giving it a process to start with. You'll need to connect with "target extended-remote" in that case. The gdbserver multiprocess support is in head already, but needs more GDB side work to be useable. > - non-stop for a multi-threaded app > - on Linux > > Is that supported yet? > Because I'm not getting the correct list of threads (only in the > non-stop case). What exactly are you seeing? I just run a few non-stop test (mi-nonstop.exp, mi-nsintrall.exp and ns-nsmoribund.exp tests) against linux x86-64 gdbserver head, and they passed cleanly for me, so *something* is working. :-) -- Pedro Alves