* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
saved_dabr_value assignment to the correct position.
This commit is contained in:
parent
567e4e96bc
commit
1c86e440c3
|
@ -1,3 +1,8 @@
|
|||
2007-11-09 Luis Machado <luisgpm@br.ibm.com>
|
||||
|
||||
* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
|
||||
saved_dabr_value assignment to the correct position.
|
||||
|
||||
2007-11-09 Markus Deuling <deuling@de.ibm.com>
|
||||
|
||||
* arch-utils.c (generic_convert_register_p): Add gdbarch as parameter.
|
||||
|
|
|
@ -831,10 +831,12 @@ ppc_linux_insert_watchpoint (CORE_ADDR addr, int len, int rw)
|
|||
break;
|
||||
}
|
||||
|
||||
saved_dabr_value = dabr_value;
|
||||
|
||||
ALL_LWPS (lp, ptid)
|
||||
if (ptrace (PTRACE_SET_DEBUGREG, TIDGET (ptid), 0, saved_dabr_value) < 0)
|
||||
return -1;
|
||||
saved_dabr_value = dabr_value;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue