summaryrefslogtreecommitdiff
path: root/gdb/i386nbsd-nat.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@redback.com>2000-09-07 20:08:40 +0000
committerJ.T. Conklin <jtc@redback.com>2000-09-07 20:08:40 +0000
commita8bf3b8a343992e5ec759d2301da3fceafbea635 (patch)
treee2b8bc89e6b004f9b48534cb9f5dd65b3b2e639f /gdb/i386nbsd-nat.c
parent91d19d3111cbb49f27f7f899f4560b629c356f74 (diff)
downloadgdb-a8bf3b8a343992e5ec759d2301da3fceafbea635.tar.gz
* 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.
Diffstat (limited to 'gdb/i386nbsd-nat.c')
-rw-r--r--gdb/i386nbsd-nat.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/gdb/i386nbsd-nat.c b/gdb/i386nbsd-nat.c
index b60ff32a2ed..0c069d12e60 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;