X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fsolib-target.c;h=d9d1234173e9138297ef0b92c4da714fd57da464;hb=6fe305f7fb813317dced51a909bc3c8a7b164689;hp=680dc2d3ae7457ba20be26f11bcda3ddd7b3715e;hpb=899cff7a33c091c54efd65010dc895342754896e;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/solib-target.c b/gdb/solib-target.c index 680dc2d3ae..d9d1234173 100644 --- a/gdb/solib-target.c +++ b/gdb/solib-target.c @@ -1,7 +1,6 @@ /* Definitions for targets which report shared library events. - Copyright (C) 2007 - Free Software Foundation, Inc. + Copyright (C) 2007, 2008 Free Software Foundation, Inc. This file is part of GDB. @@ -25,6 +24,7 @@ #include "symfile.h" #include "target.h" #include "vec.h" +#include "solib-target.h" #include "gdb_string.h" @@ -359,7 +359,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 +379,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; }