-/* Copyright (C) 2009-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2018 Free Software Foundation, Inc.
This file is part of GDB.
#define MIPS_LINUX_WATCH_H 1
#include <asm/ptrace.h>
-#include <stdint.h>
-
#include "break-common.h"
#define MAX_DEBUG_REGISTER 8
{
CORE_ADDR addr;
int len;
- int type;
+ enum target_hw_bp_type type;
struct mips_watchpoint *next;
};
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,