diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-24 21:08:23 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-10-24 21:08:23 +0000 |
commit | 917630e4a052582e310992c23cdf912b39687d42 (patch) | |
tree | 9b69b9c6c21826e49e6a4ca24a23ec20ff2574c3 /gdb/solib-frv.c | |
parent | e8a92f7b86db251d2472581fb95202725806a940 (diff) | |
download | gdb-917630e4a052582e310992c23cdf912b39687d42.zip gdb-917630e4a052582e310992c23cdf912b39687d42.tar.gz gdb-917630e4a052582e310992c23cdf912b39687d42.tar.bz2 |
* frv-tdep.c: Include "solib.h".
(frv_gdbarch_init): Call set_solib_ops.
* frv-tdep.h (struct target_so_ops): Add forward reference.
(frv_so_ops): Add extern declaration.
* solib-frv.c (frv_so_ops): Make global.
(_initialize_frv_solib): Do not set current_target_so_ops.
* Makefile.in: Update dependencies.
Diffstat (limited to 'gdb/solib-frv.c')
-rw-r--r-- | gdb/solib-frv.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c index 0e5b4d8..34da05e 100644 --- a/gdb/solib-frv.c +++ b/gdb/solib-frv.c @@ -1272,7 +1272,7 @@ frv_fetch_objfile_link_map (struct objfile *objfile) return 0; } -static struct target_so_ops frv_so_ops; +struct target_so_ops frv_so_ops; void _initialize_frv_solib (void) @@ -1286,9 +1286,6 @@ _initialize_frv_solib (void) frv_so_ops.open_symbol_file_object = open_symbol_file_object; frv_so_ops.in_dynsym_resolve_code = frv_in_dynsym_resolve_code; - /* FIXME: Don't do this here. *_gdbarch_init() should set so_ops. */ - current_target_so_ops = &frv_so_ops; - /* Debug this file's internals. */ add_setshow_zinteger_cmd ("solib-frv", class_maintenance, &solib_frv_debug, _("\ |