This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb/gdb-8.0-branch] Fix PR19061, gdb hangs/spins-on-cpu when debugging any program on Alpha
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Wed, 03 Jan 2018 10:41:46 -0500
- Subject: [binutils-gdb/gdb-8.0-branch] Fix PR19061, gdb hangs/spins-on-cpu when debugging any program on Alpha
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT bd496067387a9c89a7e62bbba76e784634936932 ***
Author: Richard Henderson <rth@redhat.com>
Branch: gdb-8.0-branch
Commit: bd496067387a9c89a7e62bbba76e784634936932
Fix PR19061, gdb hangs/spins-on-cpu when debugging any program on Alpha
This fixes PR19061, where gdb hangs/spins-on-cpu when debugging any
program on Alpha.
(This patch is Uros' forward port of the patch from comment #5
of the PR [1].)
Patch was tested on alphaev68-linux-gnu, also tested with gcc's
testsuite, where it fixed all hangs in guality.exp and
simulate-thread.exp testcases.
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=19061#c5
gdb/ChangeLog:
2018-01-03 Richard Henderson <rth@redhat.com>
Uros Bizjak <ubizjak@gmail.com>
PR gdb/19061
* alpha-tdep.c (alpha_deal_with_atomic_sequence): Change
prototype.
(alpha_software_single_step): Call alpha_deal_with_atomic_sequence
here.
(set_gdbarch_software_single_step): Set to
alpha_software_single_step.
* nat/linux-ptrace.h [__alpha__]: Define GDB_ARCH_IS_TRAP_BRKPT
and GDB_ARCH_IS_TRAP_HWBKPT.
- Follow-Ups:
- Failures on Fedora-i686, branch gdb-8.0-branch
- Failures on Fedora-x86_64-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-gdbserver-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m64, branch gdb-8.0-branch
- Failures on Ubuntu-AArch64-native-gdbserver-m64, branch gdb-8.0-branch
- Failures on Fedora-x86_64-cc-with-index, branch gdb-8.0-branch
- Failures on Fedora-x86_64-native-extended-gdbserver-m32, branch gdb-8.0-branch
- Failures on Fedora-x86_64-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-native-gdbserver-m32, branch gdb-8.0-branch
- Failures on Ubuntu-AArch32-m32, branch gdb-8.0-branch