Add compunits range adapter to objfile
[deliverable/binutils-gdb.git] / gdb / coffread.c
index 4f05295712220461d647e01600dfab162e85378d..2b75d8189fb7fe956f78d3a1e4bbf834a8e8f0b7 100644 (file)
@@ -1203,7 +1203,7 @@ coff_symtab_read (minimal_symbol_reader &reader,
   /* Patch up any opaque types (references to types that are not defined
      in the file where they are referenced, e.g. "struct foo *bar").  */
   {
-    for (compunit_symtab *cu : objfile_compunits (objfile))
+    for (compunit_symtab *cu : objfile->compunits ())
       {
        for (symtab *s : compunit_filetabs (cu))
          patch_opaque_types (s);
This page took 0.023306 seconds and 4 git commands to generate.