aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2021-03-20 17:23:40 -0600
committerTom Tromey <tom@tromey.com>2021-03-20 17:23:45 -0600
commitde909f0b765dbe6223292c2d05e97631136df42b (patch)
tree38a4b33307bfdcae5ac6f1817b7139e7243959a4 /gdb
parentcaf8c1e5071295d25f3843d5d39541df24b45787 (diff)
downloadgdb-de909f0b765dbe6223292c2d05e97631136df42b.zip
gdb-de909f0b765dbe6223292c2d05e97631136df42b.tar.gz
gdb-de909f0b765dbe6223292c2d05e97631136df42b.tar.bz2
Remove objfile::psymtabs
The method objfile::psymtabs is no longer used and can be removed. gdb/ChangeLog 2021-03-20 Tom Tromey <tom@tromey.com> * objfiles.h (struct objfile) <psymtabs>: Remove method.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/objfiles.h8
2 files changed, 4 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index cd9c17c..68f40d9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2021-03-20 Tom Tromey <tom@tromey.com>
+ * objfiles.h (struct objfile) <psymtabs>: Remove method.
+
+2021-03-20 Tom Tromey <tom@tromey.com>
+
* psymtab.c (psymbol_functions::count_psyms): Rename.
(psymbol_functions::print_stats): Update.
* psympriv.h (struct psymbol_functions) <count_psyms>: Declare
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index c51217b..cb441b1 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -446,14 +446,6 @@ public:
DISABLE_COPY_AND_ASSIGN (objfile);
- /* A range adapter that makes it possible to iterate over all
- psymtabs in one objfile. */
-
- psymtab_storage::partial_symtab_range psymtabs ()
- {
- return partial_symtabs->range ();
- }
-
/* Reset the storage for the partial symbol tables. */
void reset_psymtabs ()