frysk.sys.ptrace
Class RegisterSet

java.lang.Object
  extended by frysk.sys.ptrace.RegisterSet

public class RegisterSet
extends Object

A ptrace register set that is transfered to/from PID in bulk.


Field Summary
private static Log fine
           
static RegisterSet FPREGS
           
static RegisterSet FPXREGS
           
private  int ptGet
           
private  int ptLength
           
private  int ptSet
           
static RegisterSet REGS
           
 
Constructor Summary
RegisterSet(int ptLength, int ptGet, int ptSet)
           
 
Method Summary
private static RegisterSet fpregs()
           
private static RegisterSet fpxregs()
           
 int length()
          Return the size of the register set in bytes.
private static RegisterSet regs()
           
private static void transfer(int op, int pid, byte[] data, int length)
           
 void transfer(ProcessIdentifier pid, byte[] data, boolean write)
          Fetch PID's register set into DATA.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fine

private static final Log fine

ptLength

private final int ptLength

ptGet

private final int ptGet

ptSet

private final int ptSet

REGS

public static final RegisterSet REGS

FPREGS

public static final RegisterSet FPREGS

FPXREGS

public static final RegisterSet FPXREGS
Constructor Detail

RegisterSet

RegisterSet(int ptLength,
            int ptGet,
            int ptSet)
Method Detail

length

public int length()
Return the size of the register set in bytes.


transfer

public void transfer(ProcessIdentifier pid,
                     byte[] data,
                     boolean write)
Fetch PID's register set into DATA.


transfer

private static void transfer(int op,
                             int pid,
                             byte[] data,
                             int length)

regs

private static RegisterSet regs()

fpregs

private static RegisterSet fpregs()

fpxregs

private static RegisterSet fpxregs()