From 58ea4db2fa80757d07fbfb9d3510247de45a10a8 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 26 Mar 2004 22:48:47 +0000 Subject: [PATCH] * cygheap.cc (cygheap_fixup_in_child): Improve strace output. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/cygheap.cc | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index e6c6a4bb6..a7e348654 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-03-26 Christopher Faylor + + * cygheap.cc (cygheap_fixup_in_child): Improve strace output. + 2004-03-26 Corinna Vinschen * errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY, diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc index b32afd027..26db66ddd 100644 --- a/winsup/cygwin/cygheap.cc +++ b/winsup/cygwin/cygheap.cc @@ -162,7 +162,8 @@ cygheap_fixup_in_child (bool execed) if (!VirtualQuery ((LPCVOID) cygheap, &m, sizeof m)) system_printf ("couldn't get memory info, %E"); - system_printf ("Couldn't reserve space for cygwin's heap (%p <%p>) in child, %E", cygheap, newaddr); + system_printf ("Couldn't reserve %d bytes of space for cygwin's heap (%p <%p>) in child, %E", + alloc_sz, cygheap, newaddr); api_fatal ("m.AllocationBase %p, m.BaseAddress %p, m.RegionSize %p, m.State %p\n", m.AllocationBase, m.BaseAddress, m.RegionSize, m.State); } -- 2.43.5