From de909f0b765dbe6223292c2d05e97631136df42b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 20 Mar 2021 17:23:40 -0600 Subject: [PATCH] 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(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cd9c17c3f17..68f40d9d807 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2021-03-20 Tom Tromey + + * objfiles.h (struct objfile) : Remove method. + 2021-03-20 Tom Tromey * psymtab.c (psymbol_functions::count_psyms): Rename. diff --git a/gdb/objfiles.h b/gdb/objfiles.h index c51217be6f0..cb441b117df 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 () -- 2.30.2