diff options
Diffstat (limited to 'gdb/gdb_bfd.h')
-rw-r--r-- | gdb/gdb_bfd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdb_bfd.h b/gdb/gdb_bfd.h index d366fc0..156c276 100644 --- a/gdb/gdb_bfd.h +++ b/gdb/gdb_bfd.h @@ -23,6 +23,7 @@ #include "registry.h" #include "gdbsupport/byte-vector.h" #include "gdbsupport/gdb_ref_ptr.h" +#include "gdbsupport/iterator-range.h" #include "gdbsupport/next-iterator.h" DECLARE_REGISTRY (bfd); @@ -208,8 +209,7 @@ gdb_bfd_ref_ptr gdb_bfd_open_from_target_memory (CORE_ADDR addr, ULONGEST size, ... use SECT ... */ -using gdb_bfd_section_iterator = next_iterator<asection>; -using gdb_bfd_section_range = next_adapter<asection, gdb_bfd_section_iterator>; +using gdb_bfd_section_range = next_range<asection>; static inline gdb_bfd_section_range gdb_bfd_sections (bfd *abfd) |