From: Tom Tromey Date: Sat, 20 Mar 2021 23:23:40 +0000 (-0600) Subject: Remove objfile::psymtabs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=de909f0b765dbe6223292c2d05e97631136df42b;p=binutils-gdb.git 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. --- 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 ()