rearrange struct value to save memory
[deliverable/binutils-gdb.git] / gdb / i386fbsd-nat.c
index 52ae031d096ac898a2e772dfc29049115370fa83..6d781717235f101dd780c3c83f954a486fde7afb 100644 (file)
@@ -1,7 +1,6 @@
 /* Native-dependent code for FreeBSD/i386.
 
-   Copyright (C) 2001, 2002, 2003, 2004, 2007, 2008, 2009, 2010, 2011
-   Free Software Foundation, Inc.
+   Copyright (C) 2001-2014 Free Software Foundation, Inc.
 
    This file is part of GDB.
 
@@ -37,7 +36,7 @@
 
 static void
 i386fbsd_resume (struct target_ops *ops,
-                ptid_t ptid, int step, enum target_signal signal)
+                ptid_t ptid, int step, enum gdb_signal signal)
 {
   pid_t pid = ptid_get_pid (ptid);
   int request = PT_STEP;
@@ -76,14 +75,13 @@ i386fbsd_resume (struct target_ops *ops,
      was.  (If GDB wanted it to start some other way, we have already
      written a new PC value to the child.)  */
   if (ptrace (request, pid, (caddr_t) 1,
-             target_signal_to_host (signal)) == -1)
+             gdb_signal_to_host (signal)) == -1)
     perror_with_name (("ptrace"));
 }
 \f
 
 /* Support for debugging kernel virtual memory images.  */
 
-#include <sys/types.h>
 #include <machine/pcb.h>
 
 #include "bsd-kvm.h"
This page took 0.023929 seconds and 4 git commands to generate.