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

public abstract Class X86ThreadContext

extends Object
implements ThreadContext
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.ThreadContext
Known Direct Subclasses
sun.jvm.hotspot.debugger.bsd.x86.BsdX86ThreadContext, sun.jvm.hotspot.debugger.linux.x86.LinuxX86ThreadContext, sun.jvm.hotspot.debugger.remote.x86.RemoteX86ThreadContext, sun.jvm.hotspot.debugger.windbg.x86.WindbgX86ThreadContext
Imports
java.lang.annotation.Native, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*

Specifies the thread context on x86 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
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

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
DR0back to summary
public static final int DR0
DR1back to summary
public static final int DR1
DR2back to summary
public static final int DR2
DR3back to summary
public static final int DR3
DR6back to summary
public static final int DR6
DR7back to summary
public static final int DR7
DSback to summary
public static final int DS
EAXback to summary
public static final int EAX
EBPback to summary
public static final int EBP
EBXback to summary
public static final int EBX
ECXback to summary
public static final int ECX
EDIback to summary
public static final int EDI
EDXback to summary
public static final int EDX
EFLback to summary
public static final int EFL
EIPback to summary
public static final int EIP
ERRback to summary
public static final int ERR
ESback to summary
public static final int ES
ESIback to summary
public static final int ESI
ESPback to summary
public static final int ESP
FPback to summary
public static final int FP
FSback to summary
public static final int FS
GSback to summary
public static final int GS
Annotations
@Native
NPRGREGback to summary
public static final int NPRGREG
PCback to summary
public static final int PC
PSback to summary
public static final int PS
R0back to summary
public static final int R0
R1back to summary
public static final int R1
regNamesback to summary
private static final String[] regNames
SPback to summary
public static final int SP
SSback to summary
public static final int SS
TRAPNOback to summary
public static final int TRAPNO
UESPback to summary
public static final int UESP

Constructor Detail

X86ThreadContextback to summary
public X86ThreadContext()

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