[binutils-gdb] gdb: remove nbsd_{ilp32, lp64}_solib_svr4_fetch_link_map_offsets

Simon Marchi simark@sourceware.org
Fri Sep 29 01:18:47 GMT 2023


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fb908c299d5497a28d7e319c21d366989cfa7743

commit fb908c299d5497a28d7e319c21d366989cfa7743
Author: Simon Marchi <simon.marchi@efficios.com>
Date:   Thu Sep 28 13:47:46 2023 -0400

    gdb: remove nbsd_{ilp32,lp64}_solib_svr4_fetch_link_map_offsets
    
    They are unused.
    
    Change-Id: I9b78837d41126ce1957aa1e8b08c82a422f06cbf
    Reviewed-By: John Baldwin <jhb@FreeBSD.org>

Diff:
---
 gdb/netbsd-tdep.c | 15 ---------------
 gdb/netbsd-tdep.h |  3 ---
 2 files changed, 18 deletions(-)

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.  */


More information about the Gdb-cvs mailing list