This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 04/13] Get pid rather than lwpid
- From: Pedro Alves <palves at redhat dot com>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 25 Aug 2015 14:33:40 +0100
- Subject: Re: [PATCH 04/13] Get pid rather than lwpid
- Authentication-results: sourceware.org; auth=none
- References: <1439913199-22882-1-git-send-email-yao dot qi at linaro dot org> <1439913199-22882-5-git-send-email-yao dot qi at linaro dot org> <55DC47C6 dot 9090603 at redhat dot com> <86bndv1pif dot fsf at gmail dot com>
On 08/25/2015 02:11 PM, Yao Qi wrote:
> From f0dc39d1a71f6c05c1f09fe8c83e01e3187beec9 Mon Sep 17 00:00:00 2001
> From: Yao Qi <yao.qi@linaro.org>
> 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 <yao.qi@linaro.org>
>
> * 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