Remove objfile::psymtabs
authorTom Tromey <tom@tromey.com>
Sat, 20 Mar 2021 23:23:40 +0000 (17:23 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 20 Mar 2021 23:23:45 +0000 (17:23 -0600)
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.

gdb/ChangeLog
gdb/objfiles.h

index cd9c17c3f1791d3672bbd2b546037ebd42adf67c..68f40d9d8078168b79011b7d419e3820ee0b9c4a 100644 (file)
@@ -1,3 +1,7 @@
+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.
index c51217be6f06c4d842e3c1f59123f67e285680b0..cb441b117df54a488ba73ad165d4f0a99f7cae46 100644 (file)
@@ -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 ()
This page took 0.028827 seconds and 4 git commands to generate.