From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 124081 invoked by alias); 25 Aug 2015 13:33:45 -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 124070 invoked by uid 89); 25 Aug 2015 13:33:44 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Tue, 25 Aug 2015 13:33:43 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 5F41949; Tue, 25 Aug 2015 13:33:42 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7PDXe7u017158; Tue, 25 Aug 2015 09:33:41 -0400 Message-ID: <55DC6EB4.6040209@redhat.com> Date: Tue, 25 Aug 2015 13:33:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Yao Qi CC: gdb-patches@sourceware.org Subject: Re: [PATCH 04/13] Get pid rather than lwpid References: <1439913199-22882-1-git-send-email-yao.qi@linaro.org> <1439913199-22882-5-git-send-email-yao.qi@linaro.org> <55DC47C6.9090603@redhat.com> <86bndv1pif.fsf@gmail.com> In-Reply-To: <86bndv1pif.fsf@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00725.txt.bz2 On 08/25/2015 02:11 PM, Yao Qi wrote: > From f0dc39d1a71f6c05c1f09fe8c83e01e3187beec9 Mon Sep 17 00:00:00 2001 > From: Yao Qi > Date: Tue, 25 Aug 2015 14:08:45 +0100 > Subject: [PATCH] Print tid in debug output of debug_reg_change_callback > > In debug_reg_change_callback, we change debug registers of each LWP. > It makes more sense to print LWP's pid rather than group leader's pid. > > gdb: > > 2015-08-25 Yao Qi > > * nat/aarch64-linux-hw-point.c (debug_reg_change_callback): > Rename local variable pid to tid, and get lwpid of lwp. Update > debug output. > Looks good to me. Thanks, Pedro Alves