From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1491 invoked by alias); 1 Mar 2016 16:41:21 -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 1470 invoked by uid 89); 1 Mar 2016 16:41:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=notifications X-HELO: mail-pf0-f193.google.com Received: from mail-pf0-f193.google.com (HELO mail-pf0-f193.google.com) (209.85.192.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 01 Mar 2016 16:41:18 +0000 Received: by mail-pf0-f193.google.com with SMTP id q129so4932268pfb.3 for ; Tue, 01 Mar 2016 08:41:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=PqS1NePdk9GLr1WKkj4eFVcJPnTJVNZzZLy9PR2zecw=; b=T0zcYtoKknI4Gk1SuWfgGVVL+aSOVdrWSHTxBdL7nm/bz1K9MmTyzhoLFMpLgxm1gK 5lX1i1R4R3Hhi0DB3//IRNY8Y6DctytfELNvDTuBe3N7upJ22zOk5UypI2NOeP+c/Swu k3Kt49aREjaBGg5wsVqonCdPEYmpN0J7Sy5m2WywbqtBbEvYBxRq0LkAZ1g/BHN4FUmI pHWpEr4PtqB7gSbOQyNMmEK9P/NHiEK5w4EWPkYqQ4fE0S0ZtlshR74NUMlx4yl8OyG3 aP5ZfVAQTmWRWxJs/Upz7Y0AXtpP+FSDoUKqFsumQUwnPqpXGCLZaTPr0tzu4+WunQiP Tv9A== X-Gm-Message-State: AD7BkJI6n6u5PayMAOK+bc/1cZGWIFZfJ2N9oeSL+QUusLu7MHNDxepKFEpeEGDfIi6y4g== X-Received: by 10.98.8.74 with SMTP id c71mr31889998pfd.155.1456850476466; Tue, 01 Mar 2016 08:41:16 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id 79sm46732926pfq.65.2016.03.01.08.41.13 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 01 Mar 2016 08:41:15 -0800 (PST) From: Yao Qi To: Kieran Bingham Cc: gdb-patches@sourceware.org, arnez@linux.vnet.ibm.com, jeffm@suse.com, peter.griffin@linaro.org, lee.jones@linaro.org, russell.wayman@linaro.org, kernel@stlinux.com Subject: Re: [PATCH 1/4] gdb/observer: Provide target_thread_changed observer References: <1456427706-30077-1-git-send-email-kieran.bingham@linaro.org> <1456427706-30077-2-git-send-email-kieran.bingham@linaro.org> Date: Tue, 01 Mar 2016 16:41:00 -0000 In-Reply-To: <1456427706-30077-2-git-send-email-kieran.bingham@linaro.org> (Kieran Bingham's message of "Thu, 25 Feb 2016 19:15:03 +0000") Message-ID: <86mvqi9mmv.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: 2016-03/txt/msg00011.txt.bz2 Kieran Bingham writes: > LKD utilises an extra observer to obtain notifications whenever > the target_thread is changed. > > This keeps it's internal state aware of any changes that occur > in an event driven manner Sorry, I don't understand why do we need this observer. What problem are you trying to fix? --=20 Yao (=E9=BD=90=E5=B0=A7)