diff options
Diffstat (limited to 'gdb/memrange.h')
-rw-r--r-- | gdb/memrange.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/memrange.h b/gdb/memrange.h index 8c25d0adae3..2591789ad33 100644 --- a/gdb/memrange.h +++ b/gdb/memrange.h @@ -43,6 +43,11 @@ DEF_VEC_O(mem_range_s); extern int mem_ranges_overlap (CORE_ADDR start1, int len1, CORE_ADDR start2, int len2); +/* Returns true if ADDR is in RANGE. */ + +extern int address_in_mem_range (CORE_ADDR addr, + const struct mem_range *range); + /* Sort ranges by start address, then coalesce contiguous or overlapping ranges. */ |