[movitz-cvs] CVS update: movitz/losp/muerte/interrupt.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Thu Apr 15 15:18:43 UTC 2004


Update of /project/movitz/cvsroot/movitz/losp/muerte
In directory common-lisp.net:/tmp/cvs-serv21357

Modified Files:
	interrupt.lisp 
Log Message:
Signal a proper division-by-zero condition.

Date: Thu Apr 15 11:18:43 2004
Author: ffjeld

Index: movitz/losp/muerte/interrupt.lisp
diff -u movitz/losp/muerte/interrupt.lisp:1.4 movitz/losp/muerte/interrupt.lisp:1.5
--- movitz/losp/muerte/interrupt.lisp:1.4	Thu Apr 15 09:18:48 2004
+++ movitz/losp/muerte/interrupt.lisp	Thu Apr 15 11:18:43 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Wed Apr  7 01:50:03 2004
 ;;;;                
-;;;; $Id: interrupt.lisp,v 1.4 2004/04/15 13:18:48 ffjeld Exp $
+;;;; $Id: interrupt.lisp,v 1.5 2004/04/15 15:18:43 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -159,7 +159,7 @@
 	  (*last-interrupt-frame* interrupt-frame))
       (block nil
 	(case number
-	  (0 (error "Division by zero."))
+	  (0 (error 'division-by-zero))
 	  (3 (break "Break instruction at ~@Z." $eip))
 	  (6 (error "Illegal instruction at ~@Z." $eip))
 	  (13 (error "General protection error. EIP=~@Z, error-code: #x~X, EAX: ~@Z, EBX: ~@Z, ECX: ~@Z"





More information about the Movitz-cvs mailing list