From 6a4eb277b788df94f8b8e6f3e38d6a7c97c2452f Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 4 Sep 2024 10:32:00 -0600 Subject: Clear Ada symbol cache This patch changes "maint flush symbol-cache" to also flush the Ada-specific symbol cache. This can be helpful when working on the Ada code. Approved-By: Tom de Vries --- gdb/ada-lang.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gdb/ada-lang.h') diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index 77193ef..050d298 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -433,4 +433,8 @@ extern block_symbol ada_resolve_variable (struct symbol *sym, extern struct type *ada_index_type (struct type *type, int n, const char *name); +/* Clear the Ada symbol cache. */ + +extern void ada_clear_symbol_cache (program_space *pspace); + #endif -- cgit v1.1