aboutsummaryrefslogtreecommitdiff
path: root/gdb/frv-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-10-24 21:08:23 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-10-24 21:08:23 +0000
commit917630e4a052582e310992c23cdf912b39687d42 (patch)
tree9b69b9c6c21826e49e6a4ca24a23ec20ff2574c3 /gdb/frv-tdep.c
parente8a92f7b86db251d2472581fb95202725806a940 (diff)
downloadgdb-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/frv-tdep.c')
-rw-r--r--gdb/frv-tdep.c3
1 files changed, 3 insertions, 0 deletions
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);