aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-dsbt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-dsbt.c')
-rw-r--r--gdb/solib-dsbt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/solib-dsbt.c b/gdb/solib-dsbt.c
index 5908921..57c7ab1 100644
--- a/gdb/solib-dsbt.c
+++ b/gdb/solib-dsbt.c
@@ -424,7 +424,7 @@ scan_dyntag (int dyntag, bfd *abfd, CORE_ADDR *ptr)
return 0;
bool found = false;
- for (target_section &target_section : current_target_sections->sections)
+ for (target_section &target_section : *current_target_sections)
if (sect == target_section.the_bfd_section)
{
dyn_addr = target_section.addr;