diff options
Diffstat (limited to 'gdb/solib-dsbt.c')
-rw-r--r-- | gdb/solib-dsbt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c index 71245b2..6d21806 100644 --- a/gdb/solib-dsbt.c +++ b/gdb/solib-dsbt.c @@ -424,7 +424,8 @@ scan_dyntag (int 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; |