* cygheap.cc (cygheap_fixup_in_child): Improve strace output.

This commit is contained in:
Christopher Faylor 2004-03-26 22:48:47 +00:00
parent dee563095d
commit 58ea4db2fa
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-03-26 Christopher Faylor <cgf@redhat.com>
* cygheap.cc (cygheap_fixup_in_child): Improve strace output.
2004-03-26 Corinna Vinschen <corinna@vinschen.de>
* errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY,

View File

@ -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);
}