aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index 4888ebc..39a6915 100644
--- a/gdb/symtab.c
+++ b/gdb/symtab.c
@@ -485,6 +485,15 @@ compunit_symtab::language () const
return symtab->language ();
}
+/* See symtab.h. */
+
+void
+compunit_symtab::forget_cached_source_info ()
+{
+ for (symtab *s : filetabs ())
+ s->release_fullname ();
+}
+
/* The relocated address of the minimal symbol, using the section
offsets from OBJFILE. */