New target methods for memory tagging support
[deliverable/binutils-gdb.git] / gdb / solib-svr4.c
index 5d0d3803086a704117395eef59d4b00c14cb941c..c7b3157191f2e625c65deef6f8b19d8657a0d7f2 100644 (file)
@@ -610,7 +610,8 @@ scan_dyntag (const int desired_dyntag, bfd *abfd, CORE_ADDR *ptr,
     return 0;
 
   bool found = false;
-  for (target_section &target_section : current_program_space->target_sections)
+  for (const target_section &target_section
+        : current_program_space->target_sections ())
     if (sect == target_section.the_bfd_section)
       {
        dyn_addr = target_section.addr;
This page took 0.023973 seconds and 4 git commands to generate.