X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.28.218.3 with SMTP id r3mr1618625wmg.20.1523005841445; Fri, 06 Apr 2018 02:10:41 -0700 (PDT) From: "neozeed (neozeed AT superglobalmegacorp DOT com) [via djgpp AT delorie DOT com]" Newsgroups: comp.os.msdos.djgpp Subject: Re: Death of DJGPP support on Win10 32 bit? [WAS: Re: Max value of DpmiLimit registry setting in Windows 10 32 bit] Date: Fri, 06 Apr 2018 17:10:36 +0800 Organization: Qemu OS/2 Lines: 35 Message-ID: <20180406-091036.863.0@neozeed.news.eternal-september.org> References: <83sh8c47ey DOT fsf AT gnu DOT org> <83r2nw44a6 DOT fsf AT gnu DOT org> Mime-Version: 1.0 Injection-Info: reader02.eternal-september.org; posting-host="ebecb7c8354395b4fcd6100bc5d0b156"; logging-data="5995"; mail-complaints-to="abuse AT eternal-september DOT org"; posting-account="U2FsdGVkX1/X5G/gvJxrAelCoNtUQXId" X-Newsreader: WinVN 0.99.16.0 (x86 64bit) Cancel-Lock: sha1:bywNB8pqHGBd3ddFqiI4SMOd8gM= Content-Type: Text/Plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8Bit Bytes: 2609 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article <83r2nw44a6 DOT fsf AT gnu DOT org>, djgpp AT delorie DOT com says... >> From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" >> Date: Tue, 3 Apr 2018 19:27:57 +0300 >> >> starting under GDB (surprising but it still works) > >Running a program inside GDB does not created nested DPMI clients, >because GDB just longjmp's to the debuggee's code. > >> (gdb) c >> Continuing. >> ret=0 >> Exiting due to signal SIGSEGV >> Stack Fault at eip=00000a11 >> eax=00010001 ebx=00040080 ecx=0002d400 edx=000007bf esi=00007022 edi=00017012 >> ebp=000a773a esp=000a773a program=d:\Test\7\runpgm.exe >> cs: sel=00cf  base=000d39f0  limit=00000db0 >> ds: sel=00b7  base=000cc100  limit=0000ffff >> es: sel=0040  invalid >> fs: sel=0000 >> gs: sel=0000 >> ss: sel=00b7  base=000cc100  limit=0000ffff >> App stack: [000a8eb0..00028eb4]  Exceptn stack: [00028de0..00026ea0] > >Looks like segment registers are all wrong? > >Charles, are you still there? Can you tell what's going on here? If the NTVDM can't nest properly, isn't it easier to just use a Win32 native version of GCC, and keep your CC1/CPP/GAS/LD native? Just a though.