aboutsummaryrefslogtreecommitdiff
path: root/gdb/ia64-linux-nat.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-03-31 21:53:39 +0000
committerKevin Buettner <kevinb@redhat.com>2001-03-31 21:53:39 +0000
commit6e4862ff55e5b5795410490fa5407b3db20d71a8 (patch)
treecbee8e67fc212d412d72a4a296787dd4e9d3c60a /gdb/ia64-linux-nat.c
parent129e8d96a5ef8bc519048f38850b80a08bced210 (diff)
downloadgdb-6e4862ff55e5b5795410490fa5407b3db20d71a8.zip
gdb-6e4862ff55e5b5795410490fa5407b3db20d71a8.tar.gz
gdb-6e4862ff55e5b5795410490fa5407b3db20d71a8.tar.bz2
Make hardware watchpoint support work again on Linux/IA-64.
Diffstat (limited to 'gdb/ia64-linux-nat.c')
-rw-r--r--gdb/ia64-linux-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ia64-linux-nat.c b/gdb/ia64-linux-nat.c
index 50217f1..7fe28d1 100644
--- a/gdb/ia64-linux-nat.c
+++ b/gdb/ia64-linux-nat.c
@@ -630,7 +630,7 @@ ia64_linux_stopped_by_watchpoint (int pid)
errno = 0;
ptrace (PTRACE_GETSIGINFO, tid, (PTRACE_ARG3_TYPE) 0, &siginfo);
- if (errno != 0 || siginfo.si_code != 4 /* TRAP_HWBKPT */)
+ if (errno != 0 || siginfo.si_code != 0x30004 /* TRAP_HWBKPT */)
return 0;
psr = read_register_pid (IA64_PSR_REGNUM, pid);