From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 61128 invoked by alias); 26 Oct 2015 10:23:06 -0000 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 Received: (qmail 61111 invoked by uid 89); 26 Oct 2015 10:23:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f45.google.com Received: from mail-pa0-f45.google.com (HELO mail-pa0-f45.google.com) (209.85.220.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 26 Oct 2015 10:23:04 +0000 Received: by pacfa8 with SMTP id fa8so5713622pac.0 for ; Mon, 26 Oct 2015 03:23:02 -0700 (PDT) X-Received: by 10.68.136.10 with SMTP id pw10mr21499896pbb.89.1445854982835; Mon, 26 Oct 2015 03:23:02 -0700 (PDT) Received: from E107787-LIN (gcc2-power8.osuosl.org. [140.211.9.43]) by smtp.gmail.com with ESMTPSA id gv1sm33125218pbc.38.2015.10.26.03.23.00 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 26 Oct 2015 03:23:02 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 03/18] attach + target always in non-stop mode: stop all threads References: <1444836486-25679-1-git-send-email-palves@redhat.com> <1444836486-25679-4-git-send-email-palves@redhat.com> Date: Mon, 26 Oct 2015 13:22:00 -0000 In-Reply-To: <1444836486-25679-4-git-send-email-palves@redhat.com> (Pedro Alves's message of "Wed, 14 Oct 2015 16:27:51 +0100") Message-ID: <86r3ki0vzy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-10/txt/msg00552.txt.bz2 Pedro Alves writes: > In addition, it's not defined whith thread manages to report the s/whith/which > initial attach stop, so always pick the lowest one (otherwise > multi-attach.exp regresses). Shouldn't GDB pick the main thread rather than the lowest one? --=20 Yao (=E9=BD=90=E5=B0=A7)