Top Description Fields Constructors Methods
sun.jvm.hotspot.debugger.amd64

public abstract Class AMD64ThreadContext

extends Object
implements ThreadContext
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.ThreadContext
Known Direct Subclasses
sun.jvm.hotspot.debugger.bsd.amd64.BsdAMD64ThreadContext, sun.jvm.hotspot.debugger.linux.amd64.LinuxAMD64ThreadContext, sun.jvm.hotspot.debugger.remote.amd64.RemoteAMD64ThreadContext, sun.jvm.hotspot.debugger.windbg.amd64.WindbgAMD64ThreadContext
Imports
java.lang.annotation.Native, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*

Specifies the thread context on amd64 platforms; only a sub-portion of the context is guaranteed to be present on all operating systems.

Field Summary

Modifier and TypeField and Description
public static final int
private long[]
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
private static final String[]
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getNumRegisters()

Implements sun.jvm.hotspot.debugger.ThreadContext.getNumRegisters.

Number of integer registers in the context

public long
getRegister(int index)

Implements sun.jvm.hotspot.debugger.ThreadContext.getRegister.

Get the value of the specified register (0..getNumRegisters() - 1)

public abstract Address
getRegisterAsAddress(int index)

Redeclares sun.jvm.hotspot.debugger.ThreadContext.getRegisterAsAddress.

This can't be implemented in this class since we would have to tie the implementation to, for example, the debugging system

public String
getRegisterName(int index)

Implements sun.jvm.hotspot.debugger.ThreadContext.getRegisterName.

Get the name of the specified register (0..getNumRegisters() - 1)

public CFrame
public void
setRegister(int index, long value)

Implements sun.jvm.hotspot.debugger.ThreadContext.setRegister.

Set the value of the specified register (0..getNumRegisters() - 1)

public abstract void
setRegisterAsAddress(int index, Address value)

Redeclares sun.jvm.hotspot.debugger.ThreadContext.setRegisterAsAddress.

This can't be implemented in this class since we would have to tie the implementation to, for example, the debugging system

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CSback to summary
public static final int CS
databack to summary
private long[] data
DSback to summary
public static final int DS
ERRback to summary
public static final int ERR
ESback to summary
public static final int ES
FSback to summary
public static final int FS
FSBASEback to summary
public static final int FSBASE
GSback to summary
public static final int GS
GSBASEback to summary
public static final int GSBASE
NPRGREGback to summary
public static final int NPRGREG
R10back to summary
public static final int R10
R11back to summary
public static final int R11
R12back to summary
public static final int R12
R13back to summary
public static final int R13
R14back to summary
public static final int R14
R15back to summary
public static final int R15
Annotations
@Native
R8back to summary
public static final int R8
R9back to summary
public static final int R9
RAXback to summary
public static final int RAX
RBPback to summary
public static final int RBP
RBXback to summary
public static final int RBX
RCXback to summary
public static final int RCX
RDIback to summary
public static final int RDI
RDXback to summary
public static final int RDX
regNamesback to summary
private static final String[] regNames
RFLback to summary
public static final int RFL
RIPback to summary
public static final int RIP
RSIback to summary
public static final int RSI
RSPback to summary
public static final int RSP
SSback to summary
public static final int SS
TRAPNOback to summary
public static final int TRAPNO

Constructor Detail

AMD64ThreadContextback to summary
public AMD64ThreadContext()

Method Detail

getNumRegistersback to summary
public int getNumRegisters()

Implements sun.jvm.hotspot.debugger.ThreadContext.getNumRegisters.

Doc from sun.jvm.hotspot.debugger.ThreadContext.getNumRegisters.

Number of integer registers in the context

getRegisterback to summary
public long getRegister(int index)

Implements sun.jvm.hotspot.debugger.ThreadContext.getRegister.

Doc from sun.jvm.hotspot.debugger.ThreadContext.getRegister.

Get the value of the specified register (0..getNumRegisters() - 1)

getRegisterAsAddressback to summary
public abstract Address getRegisterAsAddress(int index)

Redeclares sun.jvm.hotspot.debugger.ThreadContext.getRegisterAsAddress.

This can't be implemented in this class since we would have to tie the implementation to, for example, the debugging system

getRegisterNameback to summary
public String getRegisterName(int index)

Implements sun.jvm.hotspot.debugger.ThreadContext.getRegisterName.

Doc from sun.jvm.hotspot.debugger.ThreadContext.getRegisterName.

Get the name of the specified register (0..getNumRegisters() - 1)

getTopFrameback to summary
public CFrame getTopFrame(Debugger dbg)

Implements sun.jvm.hotspot.debugger.ThreadContext.getTopFrame.

setRegisterback to summary
public void setRegister(int index, long value)

Implements sun.jvm.hotspot.debugger.ThreadContext.setRegister.

Doc from sun.jvm.hotspot.debugger.ThreadContext.setRegister.

Set the value of the specified register (0..getNumRegisters() - 1)

setRegisterAsAddressback to summary
public abstract void setRegisterAsAddress(int index, Address value)

Redeclares sun.jvm.hotspot.debugger.ThreadContext.setRegisterAsAddress.

This can't be implemented in this class since we would have to tie the implementation to, for example, the debugging system