From 0fc93e6bc4c952b0eaf3e9c22bb55b33a636e2bd Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Thu, 7 Sep 2000 20:08:40 +0000 Subject: * config/i386/nbsd.mt (TDEPFILES): Add i386nbsd-tdep.o. * i386nbsd-nat.c (i386nbsd_use_struct_convention): Moved from here. * i386nbsd-tdep.c (i386nbsd_use_struct_convention): To here. * i386nbsd-tdep.c: New file. --- gdb/i386nbsd-nat.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'gdb/i386nbsd-nat.c') diff --git a/gdb/i386nbsd-nat.c b/gdb/i386nbsd-nat.c index b60ff32..0c069d1 100644 --- a/gdb/i386nbsd-nat.c +++ b/gdb/i386nbsd-nat.c @@ -147,15 +147,6 @@ store_inferior_registers (int regno) (PTRACE_ARG3_TYPE) &inferior_fpregisters, 0); } -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); -} - struct md_core { struct reg intreg; -- cgit v1.1