* remote.c (get_memory_packet_size, set_thread)
[deliverable/binutils-gdb.git] / gdb / i386v-nat.c
index 8180093c2ae9c2169841baacacec86a8dbabff04..7125ba15db8b687f67a825ff533d350207e0d6cc 100644 (file)
@@ -1,6 +1,6 @@
 /* Intel 386 native support for System V systems (pre-SVR4).
 
-   Copyright 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
+   Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1998,
    1999, 2000, 2002 Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -17,8 +17,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
 
 #include "defs.h"
 
 #include "language.h"
 #include "gdbcore.h"
 
-#ifdef USG
-#include <sys/types.h>
-#endif
-
 #include <sys/param.h>
 #include <sys/dir.h>
 #include <signal.h>
@@ -60,6 +56,8 @@
 #include "floatformat.h"
 
 #include "target.h"
+
+#include "i386-tdep.h"
 \f
 
 /* Mapping between the general-purpose registers in `struct user'
@@ -83,7 +81,7 @@ register_u_addr (CORE_ADDR blockend, int regnum)
   struct user u;
   CORE_ADDR fpstate;
 
-  if (FP_REGNUM_P (regnum))
+  if (i386_fp_regnum_p (regnum))
     {
 #ifdef KSTKSZ                  /* SCO, and others?  */
       blockend += 4 * (SS + 1) - KSTKSZ;
@@ -118,11 +116,11 @@ static int debug_control_mirror;
 /* Record which address associates with which register.  */
 static CORE_ADDR address_lookup[DR_LASTADDR - DR_FIRSTADDR + 1];
 
-static int
-i386_insert_aligned_watchpoint (int, CORE_ADDR, CORE_ADDR, int, int);
+static int i386_insert_aligned_watchpoint (int, CORE_ADDR, CORE_ADDR, int,
+                                          int);
 
-static int
-i386_insert_nonaligned_watchpoint (int, CORE_ADDR, CORE_ADDR, int, int);
+static int i386_insert_nonaligned_watchpoint (int, CORE_ADDR, CORE_ADDR, int,
+                                             int);
 
 /* Insert a watchpoint.  */
 
This page took 0.023783 seconds and 4 git commands to generate.