Print tid in debug output of debug_reg_change_callback
authorYao Qi <yao.qi@linaro.org>
Tue, 25 Aug 2015 13:08:45 +0000 (14:08 +0100)
committerYao Qi <yao.qi@linaro.org>
Tue, 25 Aug 2015 13:45:54 +0000 (14:45 +0100)
commitdfe7f77c4aae3376c175d8af4d477124c8817427
tree7df756ec744b326e8e9ddb6d80092880c5ccddb3
parent63e43d3aedb8b1112899c2d0ad74cbbee687e5d6
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.
gdb/ChangeLog
gdb/nat/aarch64-linux-hw-point.c