gdb: split out warnings helpers
[deliverable/binutils-gdb.git] / gdb / nat / mips-linux-watch.c
index 02d83f65bf892d1707e0e52757f892f830e12fff..460c94b2d5fe502dd7e52e551bae102ae194d78a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2009-2015 Free Software Foundation, Inc.
+/* Copyright (C) 2009-2016 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -164,7 +164,7 @@ mips_linux_read_watch_registers (long lwpid,
 {
   if (force || *watch_readback_valid == 0)
     {
-      if (ptrace (PTRACE_GET_WATCH_REGS, lwpid, watch_readback) == -1)
+      if (ptrace (PTRACE_GET_WATCH_REGS, lwpid, watch_readback, NULL) == -1)
        {
          *watch_readback_valid = -1;
          return 0;
@@ -198,7 +198,7 @@ mips_linux_read_watch_registers (long lwpid,
 /* Convert GDB's TYPE to an IRW mask.  */
 
 uint32_t
-mips_linux_watch_type_to_irw (int type)
+mips_linux_watch_type_to_irw (enum target_hw_bp_type type)
 {
   switch (type)
     {
This page took 0.023904 seconds and 4 git commands to generate.