diff options
author | Tom Tromey <tom@tromey.com> | 2018-06-14 22:12:16 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-09 18:28:14 -0700 |
commit | 217083254a26b9e1dc42c43f573054740988c2cf (patch) | |
tree | f1f71ece7cdd6a3e533ddc276bf9ec79c0096283 /gdb/elfread.c | |
parent | d30e1903399c32605d38b8d75a612c0d5d3d18b5 (diff) | |
download | gdb-217083254a26b9e1dc42c43f573054740988c2cf.zip gdb-217083254a26b9e1dc42c43f573054740988c2cf.tar.gz gdb-217083254a26b9e1dc42c43f573054740988c2cf.tar.bz2 |
Introduce all_objfiles and next_iterator
This introduces an iterable object which can be used to iterate over
objfiles. It also introduces a generic "next_iterator", which can be
used to iterate over types that have a "next" field.
gdb/ChangeLog
2019-01-09 Tom Tromey <tom@tromey.com>
* common/next-iterator.h: New file.
* objfiles.h (class all_objfiles): New.
(struct objfile_iterator): New.
Diffstat (limited to 'gdb/elfread.c')
0 files changed, 0 insertions, 0 deletions