From: Simon Marchi Date: Thu, 28 Sep 2023 17:47:46 +0000 (-0400) Subject: gdb: remove nbsd_{ilp32,lp64}_solib_svr4_fetch_link_map_offsets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb908c299d5497a28d7e319c21d366989cfa7743;p=binutils-gdb.git gdb: remove nbsd_{ilp32,lp64}_solib_svr4_fetch_link_map_offsets They are unused. Change-Id: I9b78837d41126ce1957aa1e8b08c82a422f06cbf Reviewed-By: John Baldwin --- diff --git a/gdb/netbsd-tdep.c b/gdb/netbsd-tdep.c index ed60200f958..15a9e2fd7d4 100644 --- a/gdb/netbsd-tdep.c +++ b/gdb/netbsd-tdep.c @@ -44,21 +44,6 @@ #define KINFO_VME_FLAG_GROWS_UP 0x00000010 #define KINFO_VME_FLAG_GROWS_DOWN 0x00000020 -/* FIXME: kettenis/20060115: We should really eliminate the next two - functions completely. */ - -struct link_map_offsets * -nbsd_ilp32_solib_svr4_fetch_link_map_offsets (void) -{ - return svr4_ilp32_fetch_link_map_offsets (); -} - -struct link_map_offsets * -nbsd_lp64_solib_svr4_fetch_link_map_offsets (void) -{ - return svr4_lp64_fetch_link_map_offsets (); -} - int nbsd_pc_in_sigtramp (CORE_ADDR pc, const char *func_name) { diff --git a/gdb/netbsd-tdep.h b/gdb/netbsd-tdep.h index ab13e628d58..2adf9a751e3 100644 --- a/gdb/netbsd-tdep.h +++ b/gdb/netbsd-tdep.h @@ -20,9 +20,6 @@ #ifndef NBSD_TDEP_H #define NBSD_TDEP_H -struct link_map_offsets *nbsd_ilp32_solib_svr4_fetch_link_map_offsets (void); -struct link_map_offsets *nbsd_lp64_solib_svr4_fetch_link_map_offsets (void); - int nbsd_pc_in_sigtramp (CORE_ADDR, const char *); /* NetBSD specific set of ABI-related routines. */