java.lang.Object
com.ibm.j9ddr.corereaders.tdump.zebedee.mvs.RegisterSet
This class represents a set of registers for a failed thread.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetPSW()Returns the PSW.longgetRegister(int index) Get the value of the specified register.longgetRegisterAsAddress(int index) Get the value of the specified register for use as an address.long[]Return an array of the register values.voidsetPSW(long psw) Sets the PSW.voidsetRegister(int index, long value) Sets the specified register.voidsetWhereFound(String whereFound) Sets the whereFound string.Returns a string indicating where the registers were found.
-
Constructor Details
-
RegisterSet
public RegisterSet()
-
-
Method Details
-
getRegisters
public long[] getRegisters()Return an array of the register values. -
getRegister
public long getRegister(int index) Get the value of the specified register. -
getRegisterAsAddress
public long getRegisterAsAddress(int index) Get the value of the specified register for use as an address. -
setRegister
public void setRegister(int index, long value) Sets the specified register.- Parameters:
index- the register whose value is to be setvalue- the value to set it to
-
getPSW
public long getPSW()Returns the PSW. XXX How big is the PSW on a 64-bit machine? -
setPSW
public void setPSW(long psw) Sets the PSW. -
setWhereFound
Sets the whereFound string. -
whereFound
Returns a string indicating where the registers were found. This is mainly for debugging purposes.
-