diff options
author | J.T. Conklin <jtc@redback.com> | 2000-09-07 20:08:40 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@redback.com> | 2000-09-07 20:08:40 +0000 |
commit | a8bf3b8a343992e5ec759d2301da3fceafbea635 (patch) | |
tree | e2b8bc89e6b004f9b48534cb9f5dd65b3b2e639f /gdb/i386nbsd-nat.c | |
parent | 91d19d3111cbb49f27f7f899f4560b629c356f74 (diff) | |
download | gdb-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.c | 9 |
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; |