From 917630e4a052582e310992c23cdf912b39687d42 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 24 Oct 2007 21:08:23 +0000 Subject: * 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. --- gdb/frv-tdep.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/frv-tdep.c') diff --git a/gdb/frv-tdep.c b/gdb/frv-tdep.c index a75a5ff..4403e6e 100644 --- a/gdb/frv-tdep.c +++ b/gdb/frv-tdep.c @@ -37,6 +37,7 @@ #include "elf/frv.h" #include "osabi.h" #include "infcall.h" +#include "solib.h" #include "frv-tdep.h" extern void _initialize_frv_tdep (void); @@ -1563,6 +1564,8 @@ frv_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_convert_from_func_ptr_addr (gdbarch, frv_convert_from_func_ptr_addr); + set_solib_ops (gdbarch, &frv_so_ops); + /* Hook in ABI-specific overrides, if they have been registered. */ gdbarch_init_osabi (info, gdbarch); -- cgit v1.1