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.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/ada-lang.c') diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c index d77fa3c..51112a1 100644 --- a/gdb/ada-lang.c +++ b/gdb/ada-lang.c @@ -4690,9 +4690,9 @@ make_array_descriptor (struct type *type, struct value *arr) even in this case, some expensive name-based symbol searches are still sometimes necessary - to find an XVZ variable, mostly. */ -/* Clear all entries from the symbol cache. */ +/* See ada-lang.h. */ -static void +void ada_clear_symbol_cache (program_space *pspace) { ada_pspace_data_handle.clear (pspace); -- cgit v1.1