Now that the cygheap isn't part of the CYgwin DLL anymore, we have a
known memory location which is not known in maps output. Fix that by
checking for cygheap address (same in all processes) and add to output.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
strcpy (posix_modname, "[cygwin-user-shared]");
else if (cur.abase == (char *) *proc_pinfo)
strcpy (posix_modname, "[procinfo]");
+ else if (cur.abase == (char *) cygheap)
+ strcpy (posix_modname, "[cygheap]");
else if (cur.abase == user_heap.base)
strcpy (posix_modname, "[heap]");
else