X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Date: Tue, 03 Apr 2018 19:56:49 +0300 Message-Id: <83r2nw44a6.fsf@gnu.org> From: "Eli Zaretskii (eliz AT gnu DOT org) [via djgpp AT delorie DOT com]" To: djgpp AT delorie DOT com, "Charles Sandmann" In-reply-to: (djgpp@delorie.com) Subject: Re: Death of DJGPP support on Win10 32 bit? [WAS: Re: Max value of DpmiLimit registry setting in Windows 10 32 bit] References: <83sh8c47ey DOT fsf AT gnu DOT org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > 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?