Cygwin: /proc/<PID>/maps: output cygheap info
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>
This commit is contained in:
parent
ebbff10ae1
commit
a3f1eff388
|
@ -1066,6 +1066,8 @@ peb_teb_rinse_repeat:
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue