aboutsummaryrefslogtreecommitdiff
path: root/gas/subsegs.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-16 07:09:55 -0700
committerTom Tromey <tom@tromey.com>2019-01-17 15:42:26 -0700
commit604b1bfb46e62d561698397cb5499b487eb0db34 (patch)
tree7747384711d71ee4b097e47db51457e452100e83 /gas/subsegs.h
parentf252c6d5dc49cb27838e153e863f16ea7895859e (diff)
downloadgdb-604b1bfb46e62d561698397cb5499b487eb0db34.zip
gdb-604b1bfb46e62d561698397cb5499b487eb0db34.tar.gz
gdb-604b1bfb46e62d561698397cb5499b487eb0db34.tar.bz2
Simplify minsym iteration
This simplifies the minimal symbol iterator, by using minimal_symbol_count and just doing a somewhat ordinary array-like iteration. array_view is nearly usable, except that it is more convenient for this iterator to return pointers rather than references. gdb/ChangeLog 2019-01-16 Tom Tromey <tom@tromey.com> * objfiles.h (class objfile_msymbols) <iterator>: Change argument type. Remove no-argument constructor. <iterator::operator++>: Simplify. <begin>: Update. <end>: Use minimal_symbol_count.
Diffstat (limited to 'gas/subsegs.h')
0 files changed, 0 insertions, 0 deletions