diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-24 21:16:30 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-24 21:16:30 +0000 |
commit | 8d46538969f9b2068253d1c58c57d0784662e4fc (patch) | |
tree | 0d892fdcb4762d382e3c8ec4477fb9af7c486df0 /gdb/solib-target.c | |
parent | 734598d9214a617704a38fc59ad1643e15d63cc0 (diff) | |
download | gdb-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/solib-target.c')
-rw-r--r-- | gdb/solib-target.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/solib-target.c b/gdb/solib-target.c index 680dc2d..924bc92 100644 --- a/gdb/solib-target.c +++ b/gdb/solib-target.c @@ -25,6 +25,7 @@ #include "symfile.h" #include "target.h" #include "vec.h" +#include "solib-target.h" #include "gdb_string.h" @@ -359,7 +360,7 @@ solib_target_in_dynsym_resolve_code (CORE_ADDR pc) return in_plt_section (pc, NULL); } -static struct target_so_ops solib_target_so_ops; +struct target_so_ops solib_target_so_ops; extern initialize_file_ftype _initialize_solib_target; /* -Wmissing-prototypes */ @@ -379,6 +380,4 @@ _initialize_solib_target (void) = solib_target_open_symbol_file_object; solib_target_so_ops.in_dynsym_resolve_code = solib_target_in_dynsym_resolve_code; - - current_target_so_ops = &solib_target_so_ops; } |