diff options
author | Mark Kettenis <kettenis@gnu.org> | 2004-04-09 23:09:04 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2004-04-09 23:09:04 +0000 |
commit | 75f501b5c965bbd68d7d64a29ab8db05a0c12f0b (patch) | |
tree | 206fb127e1085af18592bcf38707eebf5b4d74ea /gdb/i386-sol2-tdep.c | |
parent | 18bbbd9e520fd6ca95092a871fa1f9629e7b53ad (diff) | |
download | gdb-75f501b5c965bbd68d7d64a29ab8db05a0c12f0b.zip gdb-75f501b5c965bbd68d7d64a29ab8db05a0c12f0b.tar.gz gdb-75f501b5c965bbd68d7d64a29ab8db05a0c12f0b.tar.bz2 |
* i386-sol2-tdep.c: Include "solib-svr4.h".
(i386_sol2_init_abi): Set solib_svr4_fetch_link_map_offsets.
* Makefile.in (i386-sol2-tdep.o): Update dependencies.
* config/i386/tm-i386sol2.h: Include :solib.h".
* config/i386/i386sol2.mh (NATDEPFILES): Remove solib.o,
solib-svr4.o and solib-legacy.o.
* config/i386/i386sol2.mt (TDEPFILES): Add solib.o and
solib-svr4.o.
Diffstat (limited to 'gdb/i386-sol2-tdep.c')
-rw-r--r-- | gdb/i386-sol2-tdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/i386-sol2-tdep.c b/gdb/i386-sol2-tdep.c index e261d56..698066f 100644 --- a/gdb/i386-sol2-tdep.c +++ b/gdb/i386-sol2-tdep.c @@ -24,6 +24,7 @@ #include "osabi.h" #include "i386-tdep.h" +#include "solib-svr4.h" /* From <ia32/sys/reg.h>. */ static int i386_sol2_gregset_reg_offset[] = @@ -93,6 +94,9 @@ i386_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) tdep->sigcontext_addr = i386_sol2_mcontext_addr; tdep->sc_reg_offset = tdep->gregset_reg_offset; tdep->sc_num_regs = tdep->gregset_num_regs; + + set_solib_svr4_fetch_link_map_offsets + (gdbarch, svr4_ilp32_fetch_link_map_offsets); } |