From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24075 invoked by alias); 24 Jan 2012 13:40:21 -0000 Received: (qmail 24066 invoked by uid 22791); 24 Jan 2012 13:40:20 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,MSGID_FROM_MTA_HEADER,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from e06smtp16.uk.ibm.com (HELO e06smtp16.uk.ibm.com) (195.75.94.112) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 24 Jan 2012 13:40:07 +0000 Received: from /spool/local by e06smtp16.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 24 Jan 2012 13:40:05 -0000 Received: from d06nrmr1806.portsmouth.uk.ibm.com (9.149.39.193) by e06smtp16.uk.ibm.com (192.168.101.146) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 24 Jan 2012 13:40:03 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1806.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0ODe3q32175168 for ; Tue, 24 Jan 2012 13:40:03 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0ODe3QU019794 for ; Tue, 24 Jan 2012 06:40:03 -0700 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id q0ODe13R019726; Tue, 24 Jan 2012 06:40:01 -0700 Message-Id: <201201241340.q0ODe13R019726@d06av02.portsmouth.uk.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Tue, 24 Jan 2012 14:40:01 +0100 Subject: Re: Distinguish target and "fake" PID values in extended-remote's "run", and when connecting in non-stop mode too. To: palves@redhat.com (Pedro Alves) Date: Tue, 24 Jan 2012 13:53:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org (GDB Patches) In-Reply-To: <4F1DBBA7.2060507@redhat.com> from "Pedro Alves" at Jan 23, 2012 07:57:27 PM MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit x-cbid: 12012413-3548-0000-0000-000000D64A3D Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00820.txt.bz2 Pedro Alves wrote: > Here's the promised fix. Non-stop's thread/inferior discovery on connection also > needed to be handled. I've made sure "info proc" would complain when the multiprocess > extensions were off, with extended-remote/run, and also with plain remote + non-stop, and > would operate on the currect process otherwise. I've ran the testsuite against > local gdbserver, and no regressions showed up. I also ran the testsuite with > multiprocess extensions off, and the only regressions were caused by core file > generation no longer working, which was expected. > > I've simplified the code that was previously put in a bit while factoring it > out to the new add_current_inferior_and_thread function, avoiding the > ptid_build ugliness. > > Comments? Looks good to me. Thanks, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com