* cygheap.cc (cygheap_fixup_in_child): Improve strace output.
This commit is contained in:
		| @@ -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> | 2004-03-26  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
| 	* errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY, | 	* errno.cc (errmap): Map ERROR_SHARING_VIOLATION to EBUSY, | ||||||
|   | |||||||
| @@ -162,7 +162,8 @@ cygheap_fixup_in_child (bool execed) | |||||||
| 	  if (!VirtualQuery ((LPCVOID) cygheap, &m, sizeof m)) | 	  if (!VirtualQuery ((LPCVOID) cygheap, &m, sizeof m)) | ||||||
| 	    system_printf ("couldn't get memory info, %E"); | 	    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", | 	  api_fatal ("m.AllocationBase %p, m.BaseAddress %p, m.RegionSize %p, m.State %p\n", | ||||||
| 		     m.AllocationBase, m.BaseAddress, m.RegionSize, m.State); | 		     m.AllocationBase, m.BaseAddress, m.RegionSize, m.State); | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user