unwind.c: more verbose mapping overlapping diagnostic message

* unwind.c (build_mmap_cache): Change error_msg() to debug_msg(), add
information about region names and the respective start and end
addresses.
This commit is contained in:
Eugene Syromiatnikov 2017-08-04 08:44:01 +02:00 committed by Dmitry V. Levin
parent 243239d41a
commit 0eb82b760f

View File

@ -189,8 +189,12 @@ build_mmap_cache(struct tcb *tcp)
}
if (start_addr <= entry->start_addr ||
start_addr < entry->end_addr) {
error_msg("%s: overlapping memory region",
filename);
debug_msg("%s: overlapping memory region: "
"\"%s\" [%08lx-%08lx] overlaps with "
"\"%s\" [%08lx-%08lx]",
filename, binary_path, start_addr,
end_addr, entry->binary_filename,
entry->start_addr, entry->end_addr);
continue;
}
}