/* Clear all entries from the symbol cache. */
static void
-ada_clear_symbol_cache ()
+ada_clear_symbol_cache (program_space *pspace)
{
- ada_pspace_data_handle.clear (current_program_space);
+ ada_pspace_data_handle.clear (pspace);
}
/* Search the symbol cache for an entry matching NAME and DOMAIN.
static void
ada_new_objfile_observer (struct objfile *objfile)
{
- ada_clear_symbol_cache ();
+ ada_clear_symbol_cache (current_program_space);
}
/* This module's 'free_objfile' observer. */
static void
ada_free_objfile_observer (struct objfile *objfile)
{
- ada_clear_symbol_cache ();
+ ada_clear_symbol_cache (current_program_space);
}
/* Charsets known to GNAT. */