Date: Thu, 29 Mar 2001 11:11:37 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Nimrod A. Abing" cc: Charles Sandmann , djgpp-workers AT delorie DOT com Subject: Re: dpmiexcp.c with core dumping In-Reply-To: <3.0.1.32.20010329134717.006b3a78@wingate> 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 Thu, 29 Mar 2001, Nimrod A. Abing 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. This also makes it > >a real pain to process the core files also... > > That explains why SIGSEGVs occured when dumping core from a program running > in a Win9x DOS box. It does? I don't see how: the code seems to walk the DPMI memory handles that are created by sbrk when it allocates memory from the DPMI host. So the pages recorded in the handles should be mapped into our process, and Page Faults shouldn't happen, I think. Am I missing something? > As for this "standard" format for core files, does anyone know where I can > find any docs for this? Even murky ones will do :-) I will ask for help on the GDB mailing list. > One issue has been bothering me lately though, what about memory paged to > disk? What about it? The DPMI host should page it in when you reference it---that's what VM is all about ;-)