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

pack-priv Class SharedObject

extends DSO
Class Inheritance
Imports
sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.debugger.cdbg.*, sun.jvm.hotspot.debugger.posix.*

An Object can represent either a .so or an a.out file.

Field Summary

Modifier and TypeField and Description
private BsdDebugger

Constructor Summary

AccessConstructor and Description
pack-priv
SharedObject(BsdDebugger dbg, String filename, long size, Address relocation)

Method Summary

Modifier and TypeMethod and Description
public ClosestSymbol
closestSymbolToPC(Address pcAsAddr)

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

Fetch the name of the closest exported symbol and the distance of the PC to that symbol.

protected long
protected Address
Inherited from sun.jvm.hotspot.debugger.posix.DSO:
debugInfoForPCequalsgetBasegetDebugInfoDataBasegetNamegetSizehashCodelineNumberForPC

Field Detail

dbgback to summary
private BsdDebugger dbg

Constructor Detail

SharedObjectback to summary
pack-priv SharedObject(BsdDebugger dbg, String filename, long size, Address relocation)

Method Detail

closestSymbolToPCback to summary
public ClosestSymbol closestSymbolToPC(Address pcAsAddr) throws DebuggerException

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

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

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 this loadobject or if a symbol could not be found before this PC. FIXME: specify whether this is mangled/demangled.

getAddressValueback to summary
protected long getAddressValue(Address addr)

Implements abstract sun.jvm.hotspot.debugger.posix.DSO.getAddressValue.

newAddressback to summary
protected Address newAddress(long address)

Implements abstract sun.jvm.hotspot.debugger.posix.DSO.newAddress.