[PATCH 04/13] Get pid rather than lwpid
Pedro Alves
palves@redhat.com
Tue Aug 25 13:33:00 GMT 2015
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
More information about the Gdb-patches
mailing list