* fhandler_process.cc (heap_info::fill_if_match): Rename info to
note that this heap is a Windows heap. (format_process_maps): Print info about application heap.
This commit is contained in:
parent
7e055fdf39
commit
cb26eb6868
@ -1,3 +1,9 @@
|
|||||||
|
2011-06-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_process.cc (heap_info::fill_if_match): Rename info to
|
||||||
|
note that this heap is a Windows heap.
|
||||||
|
(format_process_maps): Print info about application heap.
|
||||||
|
|
||||||
2011-06-24 Corinna Vinschen <corinna@vinschen.de>
|
2011-06-24 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_console.cc (fhandler_console::read): Don't generate ^@ on
|
* fhandler_console.cc (fhandler_console::read): Don't generate ^@ on
|
||||||
|
@ -668,7 +668,7 @@ struct heap_info
|
|||||||
for (heap *h = heap_vm_chunks; h; h = h->next)
|
for (heap *h = heap_vm_chunks; h; h = h->next)
|
||||||
if (base >= h->base && base < h->end)
|
if (base >= h->base && base < h->end)
|
||||||
{
|
{
|
||||||
char *p = dest + __small_sprintf (dest, "[heap %ld", h->heap_id);
|
char *p = dest + __small_sprintf (dest, "[win heap %ld", h->heap_id);
|
||||||
if (!(h->flags & HEAP_FLAG_NONDEFAULT))
|
if (!(h->flags & HEAP_FLAG_NONDEFAULT))
|
||||||
p = stpcpy (p, " default");
|
p = stpcpy (p, " default");
|
||||||
if ((h->flags & HEAP_FLAG_SHAREABLE) && (type & MEM_MAPPED))
|
if ((h->flags & HEAP_FLAG_SHAREABLE) && (type & MEM_MAPPED))
|
||||||
@ -976,6 +976,8 @@ format_process_maps (void *data, char *&destbuf)
|
|||||||
strcpy (posix_modname, "[cygwin-user-shared]");
|
strcpy (posix_modname, "[cygwin-user-shared]");
|
||||||
else if (cur.abase == (char *) *proc_pinfo)
|
else if (cur.abase == (char *) *proc_pinfo)
|
||||||
strcpy (posix_modname, "[procinfo]");
|
strcpy (posix_modname, "[procinfo]");
|
||||||
|
else if (cur.abase == cygheap->user_heap.base)
|
||||||
|
strcpy (posix_modname, "[heap]");
|
||||||
else
|
else
|
||||||
posix_modname[0] = 0;
|
posix_modname[0] = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user