Module Name: src Committed By: rin Date: Thu Aug 17 07:51:29 UTC 2023
Modified Files: src/external/gpl3/gdb/dist/gdb: netbsd-tdep.c netbsd-tdep.h Log Message: gdb/netbsd: Drop unused functions. NFCI. Note that these two funcs, nbsd_ilp32_solib_svr4_fetch_link_map_offsets, and nbsd_lp64_solib_svr4_fetch_link_map_offsets, merely fall back to default ELF functions. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c cvs rdiff -u -r1.1.1.1 -r1.2 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c diff -u src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c:1.2 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c:1.3 --- src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c:1.2 Thu Aug 17 06:54:31 2023 +++ src/external/gpl3/gdb/dist/gdb/netbsd-tdep.c Thu Aug 17 07:51:29 2023 @@ -46,21 +46,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) { Index: src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h diff -u src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h:1.1.1.1 src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h:1.2 --- src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h:1.1.1.1 Sun Jul 30 22:44:47 2023 +++ src/external/gpl3/gdb/dist/gdb/netbsd-tdep.h Thu Aug 17 07:51:29 2023 @@ -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. */