diff options
author | Tom Tromey <tromey@adacore.com> | 2024-09-04 10:32:00 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-09-06 11:08:41 -0600 |
commit | 6a4eb277b788df94f8b8e6f3e38d6a7c97c2452f (patch) | |
tree | 1c0f82cc28cca70ad76c1a25c0a18367c859c017 /gdb/ada-lang.h | |
parent | d767b870c4f1ba74e5ba6753f1299df3edeefab2 (diff) | |
download | binutils-6a4eb277b788df94f8b8e6f3e38d6a7c97c2452f.zip binutils-6a4eb277b788df94f8b8e6f3e38d6a7c97c2452f.tar.gz binutils-6a4eb277b788df94f8b8e6f3e38d6a7c97c2452f.tar.bz2 |
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 <tdevries@suse.de>
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r-- | gdb/ada-lang.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 |