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:36:37 +0100 |
commit | c6767e625c0fb73c9a12d991140670a00ad8284c (patch) | |
tree | 0bc16af9c8b120ae632c70309a637fa3a0171f9a /gdb/macrotab.c | |
parent | 6f43fe1508c359c4daa25a1a1c97496292462b13 (diff) | |
download | gdb-c6767e625c0fb73c9a12d991140670a00ad8284c.zip gdb-c6767e625c0fb73c9a12d991140670a00ad8284c.tar.gz gdb-c6767e625c0fb73c9a12d991140670a00ad8284c.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/macrotab.c')
0 files changed, 0 insertions, 0 deletions