diff options
author | Pedro Alves <palves@redhat.com> | 2014-12-29 19:41:05 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-01-09 14:40:11 +0000 |
commit | f7ce857f51e33c66100bcf91b346ee1baf734e53 (patch) | |
tree | e1a93b64c89156418acb486a082836ce647fb64d /gprof/utils.h | |
parent | a7b796db4fab28c2fa52bee86b97cf2b29d9c675 (diff) | |
download | gdb-f7ce857f51e33c66100bcf91b346ee1baf734e53.zip gdb-f7ce857f51e33c66100bcf91b346ee1baf734e53.tar.gz gdb-f7ce857f51e33c66100bcf91b346ee1baf734e53.tar.bz2 |
cleanup and speed up (software_)breakpoint_inserted_here_p
Factor out common code, and use the more efficient
ALL_BP_LOCATIONS_AT_ADDR.
gdb/
2015-01-09 Pedro Alves <palves@redhat.com>
* breakpoint.c (bp_location_inserted_here_p): New function,
factored out from ...
(breakpoint_inserted_here_p): ... here. Use
ALL_BP_LOCATIONS_AT_ADDR.
(software_breakpoint_inserted_here_p): Use
bp_location_inserted_here_p and ALL_BP_LOCATIONS_AT_ADDR.
Diffstat (limited to 'gprof/utils.h')
0 files changed, 0 insertions, 0 deletions