APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot.debugger.bsd.amd64

public final Class BsdAMD64CFrame

extends BasicCFrame
Class Inheritance
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.amd64.*, sun.jvm.hotspot.debugger.bsd.*, sun.jvm.hotspot.debugger.cdbg.*, sun.jvm.hotspot.debugger.cdbg.basic.*, sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.runtime.amd64.*

Field Summary

Modifier and TypeField and Description
private static final int
private BsdDebugger
private Address
private Address
private Address

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ClosestSymbol
closestSymbolToPC()

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicCFrame.closestSymbolToPC.

Implements sun.jvm.hotspot.debugger.cdbg.CFrame.closestSymbolToPC.

For the loadobject in which the PC lies, fetch the name of the closest exported symbol and the distance of the PC to that symbol.

public Address
localVariableBase()

Implements sun.jvm.hotspot.debugger.cdbg.CFrame.localVariableBase.

Gets the base pointer in this frame from which local variable offsets in the debug info are based.

public Address
pc()

Implements sun.jvm.hotspot.debugger.cdbg.CFrame.pc.

Get the program counter of this frame

public CFrame
sender(ThreadProxy thread)

Implements sun.jvm.hotspot.debugger.cdbg.CFrame.sender.

Returns null when no more frames on stack

public CFrame
sender(ThreadProxy thread, Address sp, Address fp, Address pc)

Overrides default sun.jvm.hotspot.debugger.cdbg.CFrame.sender.

Find sender frame with given FP and PC

public Frame
toFrame()

Overrides default sun.jvm.hotspot.debugger.cdbg.CFrame.toFrame.

Get Frame instance assosiated with this CFrame.

Inherited from sun.jvm.hotspot.debugger.cdbg.basic.BasicCFrame:
blockForPCdbgiterateLocalsloadObjectForPC

Field Detail

ADDRESS_SIZEback to summary
private static final int ADDRESS_SIZE
dbgback to summary
private BsdDebugger dbg

Hides sun.jvm.hotspot.debugger.cdbg.basic.BasicCFrame.dbg.

rbpback to summary
private Address rbp
ripback to summary
private Address rip
rspback to summary
private Address rsp

Constructor Detail

BsdAMD64CFrameback to summary
public BsdAMD64CFrame(BsdDebugger dbg, Address rsp, Address rbp, Address rip)

Method Detail

closestSymbolToPCback to summary
public ClosestSymbol closestSymbolToPC()

Overrides sun.jvm.hotspot.debugger.cdbg.basic.BasicCFrame.closestSymbolToPC.

Implements sun.jvm.hotspot.debugger.cdbg.CFrame.closestSymbolToPC.

Doc from sun.jvm.hotspot.debugger.cdbg.CFrame.closestSymbolToPC.

For the loadobject in which the PC lies, fetch the name of the closest exported symbol and the distance of the PC to that symbol. Returns null if the PC was not within any of the loadobjects of the target process. FIXME: specify whether this is mangled/demangled.

localVariableBaseback to summary
public Address localVariableBase()

Implements sun.jvm.hotspot.debugger.cdbg.CFrame.localVariableBase.

Doc from sun.jvm.hotspot.debugger.cdbg.CFrame.localVariableBase.

Gets the base pointer in this frame from which local variable offsets in the debug info are based. Typically this is the base-of-frame pointer (RBP on amd64, FP/I6 on SPARC).

pcback to summary
public Address pc()

Implements sun.jvm.hotspot.debugger.cdbg.CFrame.pc.

Doc from sun.jvm.hotspot.debugger.cdbg.CFrame.pc.

Get the program counter of this frame

senderback to summary
public CFrame sender(ThreadProxy thread)

Implements sun.jvm.hotspot.debugger.cdbg.CFrame.sender.

Doc from sun.jvm.hotspot.debugger.cdbg.CFrame.sender.

Returns null when no more frames on stack

Annotations
@Override
senderback to summary
public CFrame sender(ThreadProxy thread, Address sp, Address fp, Address pc)

Overrides default sun.jvm.hotspot.debugger.cdbg.CFrame.sender.

Doc from sun.jvm.hotspot.debugger.cdbg.CFrame.sender.

Find sender frame with given FP and PC

Annotations
@Override
toFrameback to summary
public Frame toFrame()

Overrides default sun.jvm.hotspot.debugger.cdbg.CFrame.toFrame.

Doc from sun.jvm.hotspot.debugger.cdbg.CFrame.toFrame.

Get Frame instance assosiated with this CFrame.

Annotations
@Override