summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/cygheap.cc3
2 files changed, 6 insertions, 1 deletions
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 <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,
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);
}