This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-8.0-branch] [MIPS] Use lwpid from lwp_info instead of inferior_ptid
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Fri, 28 Apr 2017 05:32:47 -0400
- Subject: [binutils-gdb/gdb-8.0-branch] [MIPS] Use lwpid from lwp_info instead of inferior_ptid
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT c6767e625c0fb73c9a12d991140670a00ad8284c ***
Author: Yao Qi <yao.qi@linaro.org>
Branch: gdb-8.0-branch
Commit: c6767e625c0fb73c9a12d991140670a00ad8284c
[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.
- Follow-Ups:
- Failures on Fedora-s390x-m64, branch gdb-8.0-branch
- Failures on Ubuntu-AArch32-native-gdbserver-m32, branch gdb-8.0-branch
- Failures on Ubuntu-AArch64-native-gdbserver-m64, branch gdb-8.0-branch
- Failures on Ubuntu-AArch32-native-extended-gdbserver-m32, branch gdb-8.0-branch
- Failures on Ubuntu-AArch64-m64, branch gdb-8.0-branch
- Failures on Ubuntu-AArch32-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-m64, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-8.0-branch
- Failures on Fedora-x86_64-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-gdbserver-m64, branch gdb-8.0-branch
- Failures on Fedora-i686, branch gdb-8.0-branch