* thread-db.c (check_event): Don't report an error if we encounter
[deliverable/binutils-gdb.git] / gdb / i386nbsd-nat.c
index b60ff32a2edf51acfcaa84cbeb02b96eedabbf75..2fa83e1ef19551142ca5416fddc630d496caaa94 100644 (file)
@@ -1,5 +1,5 @@
 /* Native-dependent code for NetBSD/i386, for GDB.
-   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000
+   Copyright 1988, 1989, 1991, 1992, 1994, 1996, 2000, 2001
    Free Software Foundation, Inc.
 
    This file is part of GDB.
@@ -26,6 +26,7 @@
 #include <machine/frame.h>
 #include "inferior.h"
 #include "gdbcore.h" /* for registers_fetched() */
+#include "regcache.h"
 
 #define RF(dst, src) \
        memcpy(&registers[REGISTER_BYTE(dst)], &src, sizeof(src))
@@ -147,15 +148,6 @@ store_inferior_registers (int regno)
          (PTRACE_ARG3_TYPE) &inferior_fpregisters, 0);
 }
 \f
-int
-i386nbsd_use_struct_convention (int gcc_p, struct type *type)
-{
-  return !(TYPE_LENGTH (type) == 1
-          || TYPE_LENGTH (type) == 2
-          || TYPE_LENGTH (type) == 4
-          || TYPE_LENGTH (type) == 8);
-}
-\f
 struct md_core
 {
   struct reg intreg;
This page took 0.02278 seconds and 4 git commands to generate.