diff options
author | Michael Snyder <msnyder@vmware.com> | 2002-01-03 20:50:25 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2002-01-03 20:50:25 +0000 |
commit | 831e682efed7d11695f65c9148f40b81da1d121b (patch) | |
tree | 8b82d59c75a296ccd9750fa64899939dfdb00025 /gprof | |
parent | 51c5503ba726b734a9b6011dcfdeb5e95c06f1a6 (diff) | |
download | gdb-831e682efed7d11695f65c9148f40b81da1d121b.zip gdb-831e682efed7d11695f65c9148f40b81da1d121b.tar.gz gdb-831e682efed7d11695f65c9148f40b81da1d121b.tar.bz2 |
2001-12-28 Michael Snyder <msnyder@redhat.com>
Abstract the functionality of iterating over mapped memory
regions into a general purpose iterator function.
* procfs.c (iterate_over_mappings): New function, general purpose
iterator for memory sections.
(proc_iterate_over_mappings): Reimplement using iterate_over_mappings.
(solib_mappings_callback): New function, callback for above.
(info_proc_mappings): Reimpliment using iterate_over_mappings.
(info_mappings_callback): New function, callback for above.
* procfs.c (proc_set_watchpoint): Add cast to suppress warning.
Diffstat (limited to 'gprof')
0 files changed, 0 insertions, 0 deletions