From 424f31152dcec81693304716f930675f8fbec475 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sat, 15 Jul 2006 22:38:58 +0000 Subject: [PATCH] * armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use svr4_ilp_fetch_link_map_offsets. --- gdb/ChangeLog | 5 +++++ gdb/armnbsd-tdep.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2870100..e12252e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2006-07-16 Mark Kettenis + + * armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use + svr4_ilp_fetch_link_map_offsets. + 2006-07-15 Mark Kettenis * armnbsd-tdep.c: Don't include "nbsd-tdep.h". diff --git a/gdb/armnbsd-tdep.c b/gdb/armnbsd-tdep.c index 34fa906..07e09fb 100644 --- a/gdb/armnbsd-tdep.c +++ b/gdb/armnbsd-tdep.c @@ -1,4 +1,4 @@ -/* Target-specific functions for NetBSD/arm. +/* Target-dependent code for NetBSD/arm. Copyright (C) 2002, 2003, 2004, 2006 Free Software Foundation, Inc. @@ -82,7 +82,7 @@ arm_netbsd_aout_init_abi (struct gdbarch_info info, } static void -arm_netbsd_elf_init_abi (struct gdbarch_info info, +arm_netbsd_elf_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) { struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch); @@ -93,7 +93,7 @@ arm_netbsd_elf_init_abi (struct gdbarch_info info, /* NetBSD ELF uses SVR4-style shared libraries. */ set_solib_svr4_fetch_link_map_offsets - (gdbarch, svr4_lp64_fetch_link_map_offsets); + (gdbarch, svr4_ilp32_fetch_link_map_offsets); } static enum gdb_osabi -- 2.7.4