Instruction trap in hercules?

View: New views
3 Messages — Rating Filter:   Alert me  

Instruction trap in hercules?

by Bugzilla from svetter@ameritech.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

  Is it possible to do an instruction trap in hercules?  An example
would be when a diagnose instruction is about to be executed, hercules
stops.

Thanks,
Scott

Re: Instruction trap in hercules?

by kerravon86 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In H390-MVS@..., scott <svetter@...> wrote:
>
>   Is it possible to do an instruction trap in hercules?  An example
> would be when a diagnose instruction is about to be executed, hercules
> stops.

Certainly if you modify the source. I've done that
before for debugging purposes.

There's also a DLL facility, which may be able to
override instructions, but I've never used that.

BFN.  Paul.



Re: Instruction trap in hercules?

by somitcw-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In H390-MVS@...,
 scott <svetter@...> wrote:
>   Is it possible to do an instruction trap
>in hercules?  An example would be when a
>diagnose instruction is about to be executed,
>hercules stops.
> Thanks,
> Scott

   Do you need to set a breakpoint?
On the Hercules console, enter ? for a list
of commands or see:

http://www.hercules-390.org/hercinst.html#commands

  b+           set breakpoint
  b-           delete breakpoint

   SLIP or VM PER trap might also help?