diff options
author | Yao Qi <yao.qi@linaro.org> | 2017-04-28 09:33:16 +0100 |
---|---|---|
committer | Yao Qi <yao.qi@linaro.org> | 2017-04-28 09:33:16 +0100 |
commit | 7974a6050b6e2c44722a533e2d5d9131e7db00ff (patch) | |
tree | ef7d930a36154a2be518b2ca687c464263485faa /gdb/ChangeLog | |
parent | 343b374c61f793f745b820c3cf61f69186566b18 (diff) | |
download | gdb-7974a6050b6e2c44722a533e2d5d9131e7db00ff.zip gdb-7974a6050b6e2c44722a533e2d5d9131e7db00ff.tar.gz gdb-7974a6050b6e2c44722a533e2d5d9131e7db00ff.tar.bz2 |
[MIPS] Use lwpid from lwp_info instead of inferior_ptid
RAJESH reported that GDB gets "Couldn't write debug register: No such
process." on mips64 when GDB attaches to a multi threaded application.
Looks GDB nows PTRACE_GET_WATCH_REGS for inferior_ptid but
PTRACE_SET_WATCH_REGS for lwp->ptid, they may be different.
gdb:
2017-04-28 Yao Qi <yao.qi@linaro.org>
* mips-linux-nat.c (mips_linux_new_thread): Get lwpid from
lwp_info instead of getting from inferior_ptid.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 88b44f9..9abf276 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-04-28 Yao Qi <yao.qi@linaro.org> + + * mips-linux-nat.c (mips_linux_new_thread): Get lwpid from + lwp_info instead of getting from inferior_ptid. + 2017-04-27 Keith Seitz <keiths@redhat.com> * gdbtypes.c (LVALUE_REFERENCE_TO_RVALUE_BINDING_BADNESS) |