From be24b0617d9bd5c652bb9c774746cb5eb271a3ad Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Wed, 8 Sep 2004 14:24:08 +0000 Subject: [PATCH] * sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Set solib_svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets. * sparcobsd-tdep.c: Don't include "nbsd-tdep.h". (sparc32obsd_init_abi): Set solib_svr4_fetch_link_map_offsets to svr4_ilp32_fetch_link_map_offsets. * Makefile.in (sparcobsd-tdep.o): Update dependencies. --- gdb/ChangeLog | 10 ++++++++++ gdb/Makefile.in | 2 +- gdb/sparcnbsd-tdep.c | 2 +- gdb/sparcobsd-tdep.c | 3 +-- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ce1e58ef33b..d80553c8467 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,13 @@ +2004-09-08 Mark Kettenis + + * sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Set + solib_svr4_fetch_link_map_offsets to + svr4_ilp32_fetch_link_map_offsets. + * sparcobsd-tdep.c: Don't include "nbsd-tdep.h". + (sparc32obsd_init_abi): Set solib_svr4_fetch_link_map_offsets to + svr4_ilp32_fetch_link_map_offsets. + * Makefile.in (sparcobsd-tdep.o): Update dependencies. + 2004-09-07 Jim Blandy * frame.h (frame_register): Doc fix. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index 56caaadad4e..2a464e90611 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -2527,7 +2527,7 @@ sparcnbsd-tdep.o: sparcnbsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \ $(gdb_string_h) $(sparc_tdep_h) $(nbsd_tdep_h) sparcobsd-tdep.o: sparcobsd-tdep.c $(defs_h) $(floatformat_h) $(frame_h) \ $(frame_unwind_h) $(osabi_h) $(solib_svr4_h) $(symtab_h) \ - $(trad_frame_h) $(gdb_assert_h) $(sparc_tdep_h) $(nbsd_tdep_h) + $(trad_frame_h) $(gdb_assert_h) $(sparc_tdep_h) sparc-sol2-nat.o: sparc-sol2-nat.c $(defs_h) $(regcache_h) $(gregset_h) \ $(sparc_tdep_h) $(sparc64_tdep_h) sparc-sol2-tdep.o: sparc-sol2-tdep.c $(defs_h) $(frame_h) $(frame_unwind_h) \ diff --git a/gdb/sparcnbsd-tdep.c b/gdb/sparcnbsd-tdep.c index 8c681608659..1dfc13b3868 100644 --- a/gdb/sparcnbsd-tdep.c +++ b/gdb/sparcnbsd-tdep.c @@ -298,7 +298,7 @@ sparc32nbsd_elf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) sparc32nbsd_init_abi (info, gdbarch); set_solib_svr4_fetch_link_map_offsets - (gdbarch, nbsd_ilp32_solib_svr4_fetch_link_map_offsets); + (gdbarch, svr4_ilp32_fetch_link_map_offsets); } static enum gdb_osabi diff --git a/gdb/sparcobsd-tdep.c b/gdb/sparcobsd-tdep.c index 5e9d99d5616..47f64bbbbff 100644 --- a/gdb/sparcobsd-tdep.c +++ b/gdb/sparcobsd-tdep.c @@ -31,7 +31,6 @@ #include "gdb_assert.h" #include "sparc-tdep.h" -#include "nbsd-tdep.h" /* Signal trampolines. */ @@ -155,7 +154,7 @@ sparc32obsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) frame_unwind_append_sniffer (gdbarch, sparc32obsd_sigtramp_frame_sniffer); set_solib_svr4_fetch_link_map_offsets - (gdbarch, nbsd_ilp32_solib_svr4_fetch_link_map_offsets); + (gdbarch, svr4_ilp32_fetch_link_map_offsets); } -- 2.30.2