aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile-debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/symfile-debug.c')
-rw-r--r--gdb/symfile-debug.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/symfile-debug.c b/gdb/symfile-debug.c
index 3912889..3a223d0 100644
--- a/gdb/symfile-debug.c
+++ b/gdb/symfile-debug.c
@@ -154,10 +154,7 @@ objfile::forget_cached_source_info ()
objfile_debug_name (this));
for (compunit_symtab *cu : compunits ())
- {
- for (symtab *s : cu->filetabs ())
- s->release_fullname ();
- }
+ cu->forget_cached_source_info ();
for (const auto &iter : qf)
iter->forget_cached_source_info (this);