* elfxx-ia64.c: (elfNN_ia64_modify_segment_map): Properly scan
[binutils-gdb.git] / gdb / i386nbsd-tdep.c
index 02ba77c7be9cde895ab49c7074d375b9ddca99d1..634101ad35f90b4652985a6b7f9a6b112b003dfe 100644 (file)
@@ -86,8 +86,8 @@ fetch_core_registers (char *core_reg_sect, unsigned core_reg_size, int which,
 }
 
 static void
-fetch_elfcore_registers (char *core_reg_sect, unsigned core_reg_size, int which,
-                         CORE_ADDR ignore)
+fetch_elfcore_registers (char *core_reg_sect, unsigned core_reg_size,
+                        int which, CORE_ADDR ignore)
 {
   switch (which)
     {
@@ -137,16 +137,6 @@ static struct core_fns i386nbsd_elfcore_fns =
   NULL                                 /* next */
 };
 
-/* FIXME: should be multi-arch'd */
-int
-i386nbsd_aout_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);
-}
-
 void
 _initialize_i386nbsd_tdep (void)
 {