aboutsummaryrefslogtreecommitdiff
path: root/gdb/nto-tdep.c
diff options
context:
space:
mode:
authorAleksandar Ristovski <aristovski@qnx.com>2009-06-11 19:29:00 +0000
committerAleksandar Ristovski <aristovski@qnx.com>2009-06-11 19:29:00 +0000
commit80b1849c68dcde61c3e2bf5e6a0cdb61336baea4 (patch)
tree273707760d14ee4ea371eaaaada97b0f707d3f31 /gdb/nto-tdep.c
parent80c99de1bcdd04fdfd44d331de3746d4484f839a (diff)
downloadgdb-80b1849c68dcde61c3e2bf5e6a0cdb61336baea4.zip
gdb-80b1849c68dcde61c3e2bf5e6a0cdb61336baea4.tar.gz
gdb-80b1849c68dcde61c3e2bf5e6a0cdb61336baea4.tar.bz2
* i386-nto-tdep.c (i386_nto_target): Remove definition.
(init_i386nto_ops): Use macros to set fields to global current_nto_target directly. (i386nto_init_abi): Remove unused nto_set_target call. * nto-tdep.h (nto_set_target): Remove unused declaration. * nto-tdep.c (nto_set_target): Remove unused function.
Diffstat (limited to 'gdb/nto-tdep.c')
-rw-r--r--gdb/nto-tdep.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c
index e856e14..b4f1bde 100644
--- a/gdb/nto-tdep.c
+++ b/gdb/nto-tdep.c
@@ -67,19 +67,6 @@ nto_target (void)
#endif
}
-void
-nto_set_target (struct nto_target_ops *targ)
-{
- nto_regset_id = targ->regset_id;
- nto_supply_gregset = targ->supply_gregset;
- nto_supply_fpregset = targ->supply_fpregset;
- nto_supply_altregset = targ->supply_altregset;
- nto_supply_regset = targ->supply_regset;
- nto_register_area = targ->register_area;
- nto_regset_fill = targ->regset_fill;
- nto_fetch_link_map_offsets = targ->fetch_link_map_offsets;
-}
-
/* Take a string such as i386, rs6000, etc. and map it onto CPUTYPE_X86,
CPUTYPE_PPC, etc. as defined in nto-share/dsmsgs.h. */
int