delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2018/04/03/12:56:56

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]" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com, "Charles Sandmann" <cwsdpmi AT earthlink DOT net>
In-reply-to: <e8a9925b-8ed9-9542-51bb-7c153f9573eb@iki.fi> (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: <xnd0zpwjtr DOT fsf AT envy DOT delorie DOT com>
<c5ddafe3-5a20-79eb-bd9b-1794470021e9 AT iki DOT fi> <83sh8c47ey DOT fsf AT gnu DOT org> <e8a9925b-8ed9-9542-51bb-7c153f9573eb AT iki DOT fi>
MIME-version: 1.0
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

> From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp AT delorie DOT com]" <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?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019