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/source.h | |
parent | 2a32d78f8aa6ddce2642067960f90173466dcc10 (diff) | |
download | fsf-binutils-gdb-21f6be77b97e1d606881966fd4e407fde459a639.zip fsf-binutils-gdb-21f6be77b97e1d606881966fd4e407fde459a639.tar.gz fsf-binutils-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/source.h')
-rw-r--r-- | gdb/source.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/source.h b/gdb/source.h index dd6f58c..d3e612c 100644 --- a/gdb/source.h +++ b/gdb/source.h @@ -197,10 +197,6 @@ private: extern void print_source_lines (struct symtab *s, source_lines_range r, print_source_lines_flags flags); -/* Forget line positions and file names for the symtabs in a - particular objfile. */ -extern void forget_cached_source_info_for_objfile (struct objfile *); - /* Forget what we learned about line positions in source files, and which directories contain them; must check again now since files may be found in a different directory now. */ |