From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63459 invoked by alias); 25 Nov 2015 16:48:41 -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 63439 invoked by uid 89); 25 Nov 2015 16:48:40 -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-f47.google.com Received: from mail-pa0-f47.google.com (HELO mail-pa0-f47.google.com) (209.85.220.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 25 Nov 2015 16:48:39 +0000 Received: by pacdm15 with SMTP id dm15so62306237pac.3 for ; Wed, 25 Nov 2015 08:48:38 -0800 (PST) X-Received: by 10.98.9.88 with SMTP id e85mr32607654pfd.7.1448470117939; Wed, 25 Nov 2015 08:48:37 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id sy5sm22461525pac.5.2015.11.25.08.48.35 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 25 Nov 2015 08:48:37 -0800 (PST) From: Yao Qi To: Antoine Tremblay Cc: Subject: Re: [PATCH v3 04/10] Remove support for thread events without PTRACE_EVENT_CLONE in GDBServer. References: <1448287968-12907-1-git-send-email-antoine.tremblay@ericsson.com> <1448287968-12907-5-git-send-email-antoine.tremblay@ericsson.com> Date: Wed, 25 Nov 2015 16:48:00 -0000 In-Reply-To: <1448287968-12907-5-git-send-email-antoine.tremblay@ericsson.com> (Antoine Tremblay's message of "Mon, 23 Nov 2015 09:12:42 -0500") Message-ID: <86si3uxbxb.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-11/txt/msg00524.txt.bz2 Antoine Tremblay writes: > --- > gdb/gdbserver/linux-low.c | 2 +- > gdb/gdbserver/linux-low.h | 2 +- > gdb/gdbserver/thread-db.c | 153 ++--------------------------------------= ------ > 3 files changed, 6 insertions(+), 151 deletions(-) > > diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c > index f793a78..ce9cc2e 100644 > --- a/gdb/gdbserver/linux-low.c > +++ b/gdb/gdbserver/linux-low.c > @@ -5515,7 +5515,7 @@ linux_look_up_symbols (void) > /* If the kernel supports tracing clones, then we don't need to > use the magic thread event breakpoint to learn about > threads. */ Nit: we no longer need this comment above. We can remove it too. > - thread_db_init (!linux_supports_traceclone ()); > + thread_db_init (); Patch looks good to me. --=20 Yao (=E9=BD=90=E5=B0=A7)