aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386nbsd-nat.c
diff options
context:
space:
mode:
authorJ.T. Conklin <jtc@acorntoolworks.com>2000-09-07 20:08:40 +0000
committerJ.T. Conklin <jtc@acorntoolworks.com>2000-09-07 20:08:40 +0000
commit0fc93e6bc4c952b0eaf3e9c22bb55b33a636e2bd (patch)
tree4b6036352151fe7f1592f7b6dbc614cf329a26c5 /gdb/i386nbsd-nat.c
parentdd94604f29054e5d3097853b0fd704ab9721ee6c (diff)
downloadgdb-0fc93e6bc4c952b0eaf3e9c22bb55b33a636e2bd.zip
gdb-0fc93e6bc4c952b0eaf3e9c22bb55b33a636e2bd.tar.gz
gdb-0fc93e6bc4c952b0eaf3e9c22bb55b33a636e2bd.tar.bz2
* 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 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;