From: Kevin Buettner Date: Sat, 31 Mar 2001 21:53:39 +0000 (+0000) Subject: Make hardware watchpoint support work again on Linux/IA-64. X-Git-Tag: dberlin-typesystem-branchpoint~844 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6e4862ff55e5b5795410490fa5407b3db20d71a8;p=platform%2Fupstream%2Fbinutils.git Make hardware watchpoint support work again on Linux/IA-64. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index c4b1712..13c69c4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-03-31 Kevin Buettner + + * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change + TRAP_HWBKPT constant to match that in the kernel headers for + Linux/IA-64. 2001-03-31 Mark Kettenis * i386bsd-nat.c: Include "gdb_assert.h". 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);