diff options
author | Tom Tromey <tom@tromey.com> | 2023-02-21 15:03:38 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-03-07 14:46:58 -0700 |
commit | 21f6be77b97e1d606881966fd4e407fde459a639 (patch) | |
tree | afb3ecd473c706fb12655b58b31028963d6fef83 /gdb/objfiles.c | |
parent | 2a32d78f8aa6ddce2642067960f90173466dcc10 (diff) | |
download | gdb-21f6be77b97e1d606881966fd4e407fde459a639.zip gdb-21f6be77b97e1d606881966fd4e407fde459a639.tar.gz gdb-21f6be77b97e1d606881966fd4e407fde459a639.tar.bz2 |
Merge forget_cached_source_info_for_objfile into objfile method
forget_cached_source_info_for_objfile does some objfile-specific work
and then calls objfile::forget_cached_source_info. It seems better to
me to just have the method do all the work.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r-- | gdb/objfiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c index ed29131..8e7be8e 100644 --- a/gdb/objfiles.c +++ b/gdb/objfiles.c @@ -534,7 +534,7 @@ objfile::~objfile () /* It still may reference data modules have associated with the objfile and the symbol file data. */ - forget_cached_source_info_for_objfile (this); + forget_cached_source_info (); breakpoint_free_objfile (this); btrace_free_objfile (this); |