From 0eb82b760f32e789789f8844ffa24bb368613637 Mon Sep 17 00:00:00 2001 From: Eugene Syromiatnikov Date: Fri, 4 Aug 2017 08:44:01 +0200 Subject: [PATCH] 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. --- unwind.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/unwind.c b/unwind.c index 053561ad..19853d16 100644 --- a/unwind.c +++ b/unwind.c @@ -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; } } -- 2.40.0