aboutsummaryrefslogtreecommitdiff
path: root/gdb/windows-tdep.h
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-10-01 13:17:57 +0000
committerYao Qi <yao@codesourcery.com>2013-10-01 13:17:57 +0000
commit64870a42a92fd40e6b94d5a0632fbe1431a68d42 (patch)
tree37b6d6c724e88befceb97db968cd6551593c54b1 /gdb/windows-tdep.h
parent97ad458125294fc16d151177c5278ea3288dfbce (diff)
downloadgdb-64870a42a92fd40e6b94d5a0632fbe1431a68d42.zip
gdb-64870a42a92fd40e6b94d5a0632fbe1431a68d42.tar.gz
gdb-64870a42a92fd40e6b94d5a0632fbe1431a68d42.tar.bz2
gdb/
* amd64-windows-tdep.c: Remove inclusion of "solib.h" and "solib-target.h". (amd64_windows_init_abi): Don't call set_solib_ops and set_gdbarch_iterate_over_objfiles_in_search_order. Call windows_init_abi instead. * i386-cygwin-tdep.c: Remove inclusion of "solib.h" and "solib-target.h". (i386_cygwin_init_abi): Don't call set_solib_ops, set_gdbarch_has_dos_based_file_system and set_gdbarch_iterate_over_objfiles_in_search_order. Call windows_init_abi instead. * windows-tdep.c: Include "solib.h" and "solib-target.h". (windows_init_abi): New function. (windows_iterate_over_objfiles_in_search_order): Make it static. * windows-tdep.h (windows_init_abi): Declare. (windows_iterate_over_objfiles_in_search_order): Remove declaration.
Diffstat (limited to 'gdb/windows-tdep.h')
-rw-r--r--gdb/windows-tdep.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/windows-tdep.h b/gdb/windows-tdep.h
index 99136fa..7b04bb2 100644
--- a/gdb/windows-tdep.h
+++ b/gdb/windows-tdep.h
@@ -30,8 +30,6 @@ extern void windows_xfer_shared_library (const char* so_name,
struct gdbarch *gdbarch,
struct obstack *obstack);
-extern void windows_iterate_over_objfiles_in_search_order
- (struct gdbarch *gdbarch,
- iterate_over_objfiles_in_search_order_cb_ftype *cb,
- void *cb_data, struct objfile *current_objfile);
+extern void windows_init_abi (struct gdbarch_info info,
+ struct gdbarch *gdbarch);
#endif