Return gdbpy_ref from some Python string functions
[deliverable/binutils-gdb.git] / gdb / nat / mips-linux-watch.h
index 09921025f6f2fe68f2ccc0052bab77b9231278e4..d9141edd877c3f7b857eb1b661e981d30dbc3bc4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2014 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2018 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -19,8 +19,6 @@
 #define MIPS_LINUX_WATCH_H 1
 
 #include <asm/ptrace.h>
-#include <stdint.h>
-
 #include "break-common.h"
 
 #define MAX_DEBUG_REGISTER 8
@@ -96,7 +94,7 @@ struct mips_watchpoint
 {
   CORE_ADDR addr;
   int len;
-  int type;
+  enum target_hw_bp_type type;
   struct mips_watchpoint *next;
 };
 
@@ -112,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,
This page took 0.025359 seconds and 4 git commands to generate.