aboutsummaryrefslogtreecommitdiff
path: root/gdb/vax-bsd-nat.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2018-01-03 15:14:12 +0000
committerPedro Alves <palves@redhat.com>2018-01-03 15:14:12 +0000
commitbd496067387a9c89a7e62bbba76e784634936932 (patch)
tree72f60034d605d510f0e06b1b558aacf91b7d11cf /gdb/vax-bsd-nat.c
parent8f108421329f4318c4467f751c270413119395d4 (diff)
downloadgdb-bd496067387a9c89a7e62bbba76e784634936932.zip
gdb-bd496067387a9c89a7e62bbba76e784634936932.tar.gz
gdb-bd496067387a9c89a7e62bbba76e784634936932.tar.bz2
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.
Diffstat (limited to 'gdb/vax-bsd-nat.c')
0 files changed, 0 insertions, 0 deletions