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

public final Class LinuxAMD64CFrame

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

Field Summary

Modifier and TypeField and Description
private static final int
private Address
private LinuxDebugger
private DwarfParser
private boolean
private Address

Constructor Summary

AccessConstructor and Description
private
private
LinuxAMD64CFrame(LinuxDebugger dbg, Address cfa, Address rip, DwarfParser dwarf, boolean finalFrame)

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.

private Address
getNextCFA(DwarfParser nextDwarf, ThreadContext context)

private Address
getNextPC(boolean useDwarf)

public static LinuxAMD64CFrame
private boolean
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

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

Field Detail

ADDRESS_SIZEback to summary
private static final int ADDRESS_SIZE
cfaback to summary
private Address cfa
dbgback to summary
private LinuxDebugger dbg

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

dwarfback to summary
private DwarfParser dwarf
finalFrameback to summary
private boolean finalFrame
ripback to summary
private Address rip

Constructor Detail

LinuxAMD64CFrameback to summary
private LinuxAMD64CFrame(LinuxDebugger dbg, Address cfa, Address rip, DwarfParser dwarf)
LinuxAMD64CFrameback to summary
private LinuxAMD64CFrame(LinuxDebugger dbg, Address cfa, Address rip, DwarfParser dwarf, boolean finalFrame)

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.

getNextCFAback to summary
private Address getNextCFA(DwarfParser nextDwarf, ThreadContext context)
getNextPCback to summary
private Address getNextPC(boolean useDwarf)
getTopFrameback to summary
public static LinuxAMD64CFrame getTopFrame(LinuxDebugger dbg, Address rip, ThreadContext context)
isValidFrameback to summary
private boolean isValidFrame(Address nextCFA, ThreadContext context)
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 (EBP on x86, 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