PER definitely preserves the entire PSW. Unless the SVC routine tinkers with 
RBOPSW, I would expect Exit to restore the original value.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3

________________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Paul Gilmartin <[email protected]>
Sent: Monday, June 4, 2018 1:18 PM
To: [email protected]
Subject: Re: ptrace + SVC 144 + R14 + dbx setting register values

On Mon, 4 Jun 2018 16:58:31 +0000, Seymour J Metz wrote:

>PER uses program interrupts, not an SVC.
>
>That said, calling an SVC does not normally alter R14; the SVC would have to 
>do something unusual.
>
Does either PER or SVC preserve the program mask (CC, ILC, ...)?
If so, that's the one dbx ought to use.

Saving these things can be important if you break just before an IPM 
instruction.

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to