aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-03-26 22:48:47 +0000
committerChristopher Faylor <me@cgf.cx>2004-03-26 22:48:47 +0000
commit58ea4db2fa80757d07fbfb9d3510247de45a10a8 (patch)
tree50f7076a3226eb80650c118051c16b331c12a22a /winsup
parentdee563095deb2bbdba5d4e04e48c99694061e302 (diff)
downloadnewlib-58ea4db2fa80757d07fbfb9d3510247de45a10a8.zip
newlib-58ea4db2fa80757d07fbfb9d3510247de45a10a8.tar.gz
newlib-58ea4db2fa80757d07fbfb9d3510247de45a10a8.tar.bz2
* cygheap.cc (cygheap_fixup_in_child): Improve strace output.
Diffstat (limited to 'winsup')
-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 e6c6a4b..a7e3486 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 b32afd0..26db66d 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);
}