[comp.os.vms] what is CMKRNL call #35

MSIEWEKE@GTRI01.BITNET (Mike Sieweke) (10/13/87)

We have a user here who is having trouble with an Ada program.  The program
seems to go into an infinite loop in package initialization.  The debugger
shows repeated calls to the CHMK ^i35 instruction.

Is there any way to find what system service a CHMK ^i35 is calling?
Has anyone had a similar problem with Ada?  Any helps/hints/suggestions
would be much appreciated.

Mike Sieweke <msieweke@gtri01.bitnet>
          or <msieweke%gtri01.bitnet@wiscvm.wisc.edu>
Georgia Tech Research Institute
Atlanta, Georgia

nagy%warner.hepnet@LBL.GOV (Frank J. Nagy/VAX Guru) (10/14/87)

> Is there any way to find what system service a CHMK ^i35 is calling?

Using DEBUG, I found the CHMK #35  (hex 23) instruction at 7FFEDF8A.
The entry point for this system service vector should then be at -2
relative to this (7FFEDF88).  Looking in SYS$SYSTEM:SYS.MAP, I found
that this is the vector for SYS$HIBER.

= Frank J. Nagy   "VAX Guru"
= Fermilab Research Division EED/Controls
= HEPNET: WARNER::NAGY (43198::NAGY) or FNAL::NAGY (43009::NAGY)
= BitNet: NAGY@FNAL
= USnail: Fermilab POB 500 MS/220 Batavia, IL 60510

jeh@crash.CTS.COM (Jamie Hanrahan) (10/14/87)

In article <8710140424.AA00904@ucbvax.Berkeley.EDU> MSIEWEKE@GTRI01.BITNET (Mike Sieweke) writes:
>Is there any way to find what system service a CHMK ^i35 is calling?

That depends.  If the 35 is 35 hex, it's $SETRWM (set resource wait mode).
If it's 35 decimal, it's $HIBER.