delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/16/05:14:24

From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: My INT 1 handler crashes under Windows 95
Date: Wed, 16 Dec 1998 10:18:20 +0200
Organization: NetVision Israel
Lines: 11
Message-ID: <Pine.SUN.3.91.981216101612.22373Q-100000@is>
References: <366e8532 DOT 81397 AT news DOT worldonline DOT nl>
NNTP-Posting-Host: is.elta.co.il
Mime-Version: 1.0
X-Trace: news.netvision.net.il 913796264 4309 199.203.121.2 (16 Dec 1998 08:17:44 GMT)
X-Complaints-To: abuse AT netvision DOT net DOT il
NNTP-Posting-Date: 16 Dec 1998 08:17:44 GMT
X-Sender: eliz AT is
In-Reply-To: <366e8532.81397@news.worldonline.nl>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 9 Dec 1998 sjoerd DOT s DOT bakker AT tip DOT nl wrote:

> The following test-code installs a protected mode  INT 1 (single-step)
> handler that runs well with CWSDPMI but crashes under Windows 95 with
> a registerdump caused by SIGTRAP.

INT 1 is not a hardware interrupt in the normal sense.  Try installing a 
signal handler for SIGTRAP instead.  You will probably need to make the 
handler do a longjmp (instead of returning to the caller), to prevent the 
program from crashing.

- Raw text -


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