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.
+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.
 
 
   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 ()