From de909f0b765dbe6223292c2d05e97631136df42b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 20 Mar 2021 17:23:40 -0600 Subject: Remove objfile::psymtabs The method objfile::psymtabs is no longer used and can be removed. gdb/ChangeLog 2021-03-20 Tom Tromey * objfiles.h (struct objfile) : Remove method. --- gdb/ChangeLog | 4 ++++ gdb/objfiles.h | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) (limited to 'gdb') 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 + * objfiles.h (struct objfile) : Remove method. + +2021-03-20 Tom Tromey + * psymtab.c (psymbol_functions::count_psyms): Rename. (psymbol_functions::print_stats): Update. * psympriv.h (struct psymbol_functions) : 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 () -- cgit v1.1