* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
(ppc_linux_remove_watchpoint): Likewise, and args.
This commit is contained in:
parent
5533c5e569
commit
2c38724144
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-02-27 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type.
|
||||
(ppc_linux_remove_watchpoint): Likewise, and args.
|
||||
|
||||
2006-02-26 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize
|
||||
|
|
|
@ -826,7 +826,7 @@ ppc_linux_region_ok_for_hw_watchpoint (CORE_ADDR addr, int len)
|
|||
}
|
||||
|
||||
/* Set a watchpoint of type TYPE at address ADDR. */
|
||||
static long
|
||||
static int
|
||||
ppc_linux_insert_watchpoint (CORE_ADDR addr, int len, int rw)
|
||||
{
|
||||
int tid;
|
||||
|
@ -857,8 +857,8 @@ ppc_linux_insert_watchpoint (CORE_ADDR addr, int len, int rw)
|
|||
return ptrace (PTRACE_SET_DEBUGREG, tid, 0, dabr_value);
|
||||
}
|
||||
|
||||
static long
|
||||
ppc_linux_remove_watchpoint (CORE_ADDR addr, int len)
|
||||
static int
|
||||
ppc_linux_remove_watchpoint (CORE_ADDR addr, int len, int rw)
|
||||
{
|
||||
int tid;
|
||||
ptid_t ptid = inferior_ptid;
|
||||
|
|
Loading…
Add table
Reference in a new issue