🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #265

Re: TRAP Exception Info

#265
From: Carlos Rimola-Sarti car
Date: Tue, 04 Aug 1992 23:39
32 lines
2232 bytes
In article <1992Aug1.032344.22482@midway.uchicago.edu> sip1@midway.uchicago.edu writes:
-In article <7598@public.BTR.COM> car@public.BTR.COM (Carlos Rimola-Sarti  car@btr.com) writes:
->Can anyone tell me if there is a way for an OS/2 process to get the 
->contents of registers at the time of a TRAP exception?  Alternatively,
->can OS/2 log this information somewhere?
-
-Yes.  Take a look at LOG.SYS in your online Command Reference.  I
-think this should fit the bill.

Nope.  I tried turning the log facility and then generating TRAP D's a
few times and no information was logged.  I tried this with and without
AUTOFAIL=YES.  Also, I tried it under OS/2 2.0 as well as 1.3.  BTW,
the way you enable logging is different in 2.0.  Also, I was unable to
find a description of the types of events that are recorded in the OS/2
log.

So, I am still stuck in regards to being able to capture the info I
need at the time of a TRAP exception (mainly regs).  If anyone else
has knowledge of this please share it with us.

-
--- 
-Get the OS/2 FREQ. ASKED QUESTIONS LIST | Timothy F. Sipples
-from 128.123.35.151, anonymous ftp,     | Internet: sip1@ellis.uchicago.edu
-directory pub/os2/all/faq, or from      | Dept. of Econ., U. Chicago, 60637
-LISTSERV@BLEKUL11.BITNET (send "HELP"). | Tsongas > Perot > Clinton.  Yay.

+---------------------------------------+-----------------------------------+
| Carlos Rimola-Sarti                   |         email: rimola@csisdn.com  |
| Connective Strategies Inc.            |                      car@btr.com  |
| ISDN PRI Connectivity Group           |         phone:      415-903-2585  |
+---------------------------------------+-----------------------------------+
Technical Details
Message-ID: <7647@public.BTR.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!walter!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mips!mips!public!car
References: <7598@public.BTR.COM> <1992Aug1.032344.22482@midway.uchicago.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!walter!att!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!mips!mips!public!car
From: car@public.BTR.COM (Carlos Rimola-Sarti  car@btr.com)
Newsgroups: comp.os.os2.programmer
Subject: Re: TRAP Exception Info
Message-ID: <7647@public.BTR.COM>
Date: 4 Aug 92 23:39:04 GMT
References: <7598@public.BTR.COM> <1992Aug1.032344.22482@midway.uchicago.edu>
Organization: Connective Strategies, Inc. (CSI).  Mountain View, California
Lines: 32