delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/11/19/17:31:11

From: root AT jacob DOT remcomp DOT fr (root)
Subject: exception trapped!
19 Nov 1996 17:31:11 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <m0vPyAP-000ALAC.cygnus.gnu-win32@jacob.remcomp.fr>
Original-To: gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Have you seen those messages recently?

I just can't believe that here nobody knows how to do it,
so I ask the question for a second (and last) time.

I would like to know how it is done. I have figured out how
to generate the code to set the exception handling in the
user program, and I have even figured out how to set the
exception handler at the top level at program's startup.
But I would like to see another implementation to see if 
I did everything O.K. Maybe I'm missing some essential obscure
point. (ALL of this exception handling stuff is VERY
obscure!)

Basically:
My exception handling routine is called when the program traps.
OK. I go to the exception trapping list at %fs:0 and call all
exception handlers until either the list is finished 
(what do I do if I get there?) or an exception handler
returns 1.
If I see an exception handler, I call RtlUnwind16. Then I call
the executing part of the handler, that should never return.

Easy isn't it?  Well...

Please give me a hand guys!

-- 
Jacob Navia	Logiciels/Informatique
41 rue Maurice Ravel			Tel 01 48.23.51.44
93430 Villetaneuse 			Fax 01 48.23.95.39
France
-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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