mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 20:14:06 +08:00
84696f37ae
Add a simple helper to automatically unmap a memory mapping. gdb/ * common/scoped_mmap.h: New. * unittests/scoped_mmap-selftest.c: New. * Makefile.in (SUBDIR_UNITTESTS_SRCS): Add unittests/scoped_mmap-selftest.c. |
||
---|---|---|
.. | ||
optional | ||
array-view-selftests.c | ||
common-utils-selftests.c | ||
environ-selftests.c | ||
function-view-selftests.c | ||
lookup_name_info-selftests.c | ||
memory-map-selftests.c | ||
memrange-selftests.c | ||
offset-type-selftests.c | ||
optional-selftests.c | ||
ptid-selftests.c | ||
rsp-low-selftests.c | ||
scoped_fd-selftests.c | ||
scoped_mmap-selftests.c | ||
scoped_restore-selftests.c | ||
xml-utils-selftests.c |