aboutsummaryrefslogtreecommitdiff
path: root/gdb/i386-cygwin-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-24 21:16:30 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-24 21:16:30 +0000
commit8d46538969f9b2068253d1c58c57d0784662e4fc (patch)
tree0d892fdcb4762d382e3c8ec4477fb9af7c486df0 /gdb/i386-cygwin-tdep.c
parent734598d9214a617704a38fc59ad1643e15d63cc0 (diff)
downloadgdb-8d46538969f9b2068253d1c58c57d0784662e4fc.zip
gdb-8d46538969f9b2068253d1c58c57d0784662e4fc.tar.gz
gdb-8d46538969f9b2068253d1c58c57d0784662e4fc.tar.bz2
* arm-wince-tdep.c: Include "solib.h" and "solib-target.h".
(arm_wince_init_abi): Call set_solib_ops. * i386-cygwin-tdep.c: Include "solib.h" and "solib-target.h". (i386_cygwin_init_abi): Call set_solib_ops. * solib-target.c: Include "solib-target.h". (solib_target_so_ops): Make global. (_initialize_solib_target): Do not set current_target_so_ops. * solib-target.h: New file. * Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/i386-cygwin-tdep.c')
-rw-r--r--gdb/i386-cygwin-tdep.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386-cygwin-tdep.c b/gdb/i386-cygwin-tdep.c
index 9aa2773..b311194 100644
--- a/gdb/i386-cygwin-tdep.c
+++ b/gdb/i386-cygwin-tdep.c
@@ -26,6 +26,8 @@
#include "gdb_obstack.h"
#include "xml-support.h"
#include "gdbcore.h"
+#include "solib.h"
+#include "solib-target.h"
/* Core file support. */
@@ -231,6 +233,8 @@ i386_cygwin_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
tdep->gregset_num_regs = ARRAY_SIZE (i386_win32_gregset_reg_offset);
tdep->sizeof_gregset = I386_WIN32_SIZEOF_GREGSET;
+ set_solib_ops (gdbarch, &solib_target_so_ops);
+
/* Core file support. */
set_gdbarch_regset_from_core_section
(gdbarch, i386_win32_regset_from_core_section);