runtime_loader: Set B_CLONEABLE_AREA on the debug area.

The debug_server uses it for symbol lookup.
This commit is contained in:
Augustin Cavalier 2019-08-10 17:55:47 -04:00
parent 964cab4615
commit 40b0fbbb5d
1 changed files with 1 additions and 1 deletions

View File

@ -1177,7 +1177,7 @@ rldelf_init(void)
runtime_loader_debug_area *area;
area_id areaID = _kern_create_area(RUNTIME_LOADER_DEBUG_AREA_NAME,
(void **)&area, B_RANDOMIZED_ANY_ADDRESS, size, B_NO_LOCK,
B_READ_AREA | B_WRITE_AREA);
B_READ_AREA | B_WRITE_AREA | B_CLONEABLE_AREA);
if (areaID < B_OK) {
FATAL("Failed to create debug area.\n");
_kern_loading_app_failed(areaID);