return pc & ~0x3;
 }
 
-/* Return the minimal symbol whose name is NAME and stub type is STUB_TYPE.
-   Return NULL if no such symbol was found.  */
-
-struct bound_minimal_symbol
-hppa_lookup_stub_minimal_symbol (const char *name,
-                                enum unwind_stub_types stub_type)
-{
-  struct bound_minimal_symbol result;
-
-  for (objfile *objfile : current_program_space->objfiles ())
-    {
-      for (minimal_symbol *msym : objfile->msymbols ())
-       {
-         if (strcmp (msym->linkage_name (), name) == 0)
-           {
-             struct unwind_table_entry *u;
-
-             u = find_unwind_entry (msym->value_longest ());
-             if (u != NULL && u->stub_unwind.stub_type == stub_type)
-               {
-                 result.objfile = objfile;
-                 result.minsym = msym;
-                 return result;
-               }
-           }
-       }
-    }
-
-  return result;
-}
-
 static void
 unwind_command (const char *exp, int from_tty)
 {
 
 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);