Date: Thu, 29 Mar 2001 11:08:01 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Charles Sandmann cc: "Nimrod A. Abing" , djgpp-workers AT delorie DOT com Subject: Re: dpmiexcp.c with core dumping In-Reply-To: <10103290510.AA17496@clio.rice.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 28 Mar 2001, Charles Sandmann wrote: > I would also like to see a "standard" format, but there is a problem > when we use the non-move sbrk(). Since Windows just loves returning > non-contiguous memory blocks all over the place (sometimes below the > base address, which makes it look like a 4Gb address space) the core > files are huge unless they are dumped in pieces. The code which George Foot wrote and which Nimrod is using as a starting point walks the DPMI memory handles and writes only the memory we actually sbrk'ed. This solves the problem with a seemingly-huge address space when Windows puts base address near the end of 4GB, doesn't it?