From 6f96c196beccb6f30b78ef878b3eaa420dfaa687 Mon Sep 17 00:00:00 2001 From: Markus Metzger Date: Thu, 28 Apr 2022 11:14:57 +0200 Subject: gdb, hppa: remove unused hppa_lookup_stub_minimal_symbol I stumbled over this while reviewing all objfiles traversals with regards to impact of linker namespaces. Recursive grep only finds two occurrences of hppa_lookup_stub_minimal_symbol: - the declaration in hppa-tdep.h. - the definition in hppa-tdep.c. There appear to be no calls to this function. Remove it. --- gdb/hppa-tdep.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gdb/hppa-tdep.h') diff --git a/gdb/hppa-tdep.h b/gdb/hppa-tdep.h index d0e0d4d..6ebcdc5 100644 --- a/gdb/hppa-tdep.h +++ b/gdb/hppa-tdep.h @@ -210,10 +210,6 @@ extern void hppa_write_pc (struct regcache *regcache, CORE_ADDR pc); extern CORE_ADDR hppa_unwind_pc (struct gdbarch *gdbarch, frame_info_ptr next_frame); -extern struct bound_minimal_symbol - hppa_lookup_stub_minimal_symbol (const char *name, - enum unwind_stub_types stub_type); - extern int hppa_in_solib_call_trampoline (struct gdbarch *gdbarch, CORE_ADDR pc); extern CORE_ADDR hppa_skip_trampoline_code (frame_info_ptr , CORE_ADDR pc); -- cgit v1.1