Top Description Fields Constructors Methods
sun.jvm.hotspot.debugger.cdbg.basic

public abstract Class BasicCFrame

extends Object
implements CFrame
Class Inheritance
All Implemented Interfaces
sun.jvm.hotspot.debugger.cdbg.CFrame
Known Direct Subclasses
sun.jvm.hotspot.debugger.linux.aarch64.LinuxAARCH64CFrame, sun.jvm.hotspot.debugger.linux.amd64.LinuxAMD64CFrame, sun.jvm.hotspot.debugger.linux.ppc64.LinuxPPC64CFrame, sun.jvm.hotspot.debugger.linux.riscv64.LinuxRISCV64CFrame, sun.jvm.hotspot.debugger.linux.x86.LinuxX86CFrame, sun.jvm.hotspot.debugger.windows.amd64.WindowsAMD64CFrame, sun.jvm.hotspot.debugger.windows.x86.WindowsX86CFrame, sun.jvm.hotspot.debugger.bsd.aarch64.BsdAARCH64CFrame, sun.jvm.hotspot.debugger.bsd.amd64.BsdAMD64CFrame, sun.jvm.hotspot.debugger.bsd.x86.BsdX86CFrame
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*

Basic implementation of the CFrame interface providing some of the functionality in a platform-independent manner.

Field Summary

Modifier and TypeField and Description
private CDebugger

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public BlockSym
blockForPC()

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

If debug information is available, retrieves the block in which the program counter lies.

public ClosestSymbol
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.

protected CDebugger
dbg()

public void
iterateLocals(ObjectVisitor v)

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

Visit all local variables in this frame if debug information is available.

public LoadObject
loadObjectForPC()

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

Get the loadobject in which the PC lies.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dbgback to summary
private CDebugger dbg

Constructor Detail

BasicCFrameback to summary
protected BasicCFrame(CDebugger dbg)

Method Detail

blockForPCback to summary
public BlockSym blockForPC()

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

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

If debug information is available, retrieves the block in which the program counter lies. Returns null if there is no debug information for the current program counter or if the PC could not be located for other reasons.

closestSymbolToPCback to summary
public ClosestSymbol 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.

dbgback to summary
protected CDebugger dbg()
iterateLocalsback to summary
public void iterateLocals(ObjectVisitor v)

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

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

Visit all local variables in this frame if debug information is available. Automatically descends into compound types and arrays.

loadObjectForPCback to summary
public LoadObject loadObjectForPC()

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

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

Get the loadobject in which the PC lies. Returns null if the PC is not contained in any of the loadobjects in the target process.