From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103122 invoked by alias); 3 Nov 2015 17:05:07 -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 103039 invoked by uid 89); 3 Nov 2015 17:05:07 -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-f46.google.com Received: from mail-pa0-f46.google.com (HELO mail-pa0-f46.google.com) (209.85.220.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 03 Nov 2015 17:05:05 +0000 Received: by pabfh17 with SMTP id fh17so23505663pab.0 for ; Tue, 03 Nov 2015 09:05:03 -0800 (PST) X-Received: by 10.68.163.195 with SMTP id yk3mr34554848pbb.120.1446570303307; Tue, 03 Nov 2015 09:05:03 -0800 (PST) Received: from E107787-LIN (gcc2-power8.osuosl.org. [140.211.9.43]) by smtp.gmail.com with ESMTPSA id fk8sm30563130pab.33.2015.11.03.09.05.01 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 03 Nov 2015 09:05:02 -0800 (PST) From: Yao Qi To: Antoine Tremblay Cc: Subject: Re: [PATCH 04/10] Remove support for thread events without TRACE_EVENT_CLONE in GDBServer. References: <1446138583-13268-1-git-send-email-antoine.tremblay@ericsson.com> <1446138583-13268-5-git-send-email-antoine.tremblay@ericsson.com> Date: Tue, 03 Nov 2015 17:05:00 -0000 In-Reply-To: <1446138583-13268-5-git-send-email-antoine.tremblay@ericsson.com> (Antoine Tremblay's message of "Thu, 29 Oct 2015 13:09:37 -0400") Message-ID: <86wptzxbd3.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/msg00118.txt.bz2 Antoine Tremblay writes: Hi, I don't have objection to this direction... > gdb/gdbserver/ChangeLog: > > * linux-low.c (linux_look_up_symbols): Don't call > linux_supports_traceclone. > * linux-low.h (thread_db_init): Remove use_events argument. > * thread-db.c (thread_db_use_event): Remove global variable. > (struct thread_db) : Remove field. s/td_thr_event_enable_ftype/td_thr_event_enable_p We can also remove td_create_bp field. > (thread_db_create_event): Remove function. > (thread_db_enable_reporting): Likewise. We can also remove remove_thread_event_breakpoints. > (find_one_thread): Don't check for thread_db_use_events. > (attach_thread): Likewise. > (thread_db_load_search): Remove td_thr_event_enable_p initialization. > (try_thread_db_load_1): Don't check for thread_db_use_events. > (thread_db_init): Remove use_events argument. > (thread_db_init): Remove thread events handling. You mention function thread_db_init twice. --=20 Yao (=E9=BD=90=E5=B0=A7)