diff options
author | Aleksandar Ristovski <aristovski@qnx.com> | 2009-06-11 19:29:00 +0000 |
---|---|---|
committer | Aleksandar Ristovski <aristovski@qnx.com> | 2009-06-11 19:29:00 +0000 |
commit | b582291f6c898df361ee26a5113840cd0f4044cf (patch) | |
tree | f2461a71bc0370c7dd2618b43327a136d269451a /gdb/nto-tdep.c | |
parent | 394c61d68264eac8322c7b0cbfc093cf8443b354 (diff) | |
download | gdb-b582291f6c898df361ee26a5113840cd0f4044cf.tar.gz |
* 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.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index e856e14e8e5..b4f1bdeb67f 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 |