aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat/mips-linux-watch.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nat/mips-linux-watch.h')
-rw-r--r--gdb/nat/mips-linux-watch.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/nat/mips-linux-watch.h b/gdb/nat/mips-linux-watch.h
index 10ed6ba..6983f25 100644
--- a/gdb/nat/mips-linux-watch.h
+++ b/gdb/nat/mips-linux-watch.h
@@ -94,7 +94,7 @@ struct mips_watchpoint
{
CORE_ADDR addr;
int len;
- int type;
+ enum target_hw_bp_type type;
struct mips_watchpoint *next;
};
@@ -110,7 +110,7 @@ int mips_linux_watch_try_one_watch (struct pt_watch_regs *regs,
CORE_ADDR addr, int len, uint32_t irw);
void mips_linux_watch_populate_regs (struct mips_watchpoint *current_watches,
struct pt_watch_regs *regs);
-uint32_t mips_linux_watch_type_to_irw (int type);
+uint32_t mips_linux_watch_type_to_irw (enum target_hw_bp_type type);
int mips_linux_read_watch_registers (long lwpid,
struct pt_watch_regs *watch_readback,