diff options
Diffstat (limited to 'gdb/xstormy16-tdep.c')
-rw-r--r-- | gdb/xstormy16-tdep.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/xstormy16-tdep.c b/gdb/xstormy16-tdep.c index b4042f1..b63dfa0 100644 --- a/gdb/xstormy16-tdep.c +++ b/gdb/xstormy16-tdep.c @@ -546,14 +546,14 @@ xstormy16_find_jmp_table_entry (struct gdbarch *gdbarch, CORE_ADDR faddr) if (!strcmp (faddr_sect->the_bfd_section->name, ".plt")) return faddr; - for (obj_section *osect : faddr_sect->objfile->sections ()) + for (obj_section &osect : faddr_sect->objfile->sections ()) { - if (!strcmp (osect->the_bfd_section->name, ".plt")) + if (!strcmp (osect.the_bfd_section->name, ".plt")) { CORE_ADDR addr, endaddr; - addr = osect->addr (); - endaddr = osect->endaddr (); + addr = osect.addr (); + endaddr = osect.endaddr (); for (; addr < endaddr; addr += 2 * xstormy16_inst_size) { |