29 import sun.jvm.hotspot.debugger.cdbg.*;
30
31 /** An extension of the JVMDebugger interface with a few additions to
32 support 32-bit vs. 64-bit debugging as well as features required
33 by the architecture-specific subpackages. */
34
35 public interface BsdDebugger extends JVMDebugger {
36 public String addressValueToString(long address) throws DebuggerException;
37 public boolean readJBoolean(long address) throws DebuggerException;
38 public byte readJByte(long address) throws DebuggerException;
39 public char readJChar(long address) throws DebuggerException;
40 public double readJDouble(long address) throws DebuggerException;
41 public float readJFloat(long address) throws DebuggerException;
42 public int readJInt(long address) throws DebuggerException;
43 public long readJLong(long address) throws DebuggerException;
44 public short readJShort(long address) throws DebuggerException;
45 public long readCInteger(long address, long numBytes, boolean isUnsigned)
46 throws DebuggerException;
47 public BsdAddress readAddress(long address) throws DebuggerException;
48 public BsdAddress readCompOopAddress(long address) throws DebuggerException;
49 public BsdOopHandle readOopHandle(long address) throws DebuggerException;
50 public BsdOopHandle readCompOopHandle(long address) throws DebuggerException;
51 public long[] getThreadIntegerRegisterSet(int lwp_id) throws DebuggerException;
52 public long getAddressValue(Address addr) throws DebuggerException;
53 public Address newAddress(long value) throws DebuggerException;
54
55 // For BsdCDebugger
56 public List getThreadList();
57 public List getLoadObjectList();
58 public ClosestSymbol lookup(long address);
59
60 // NOTE: this interface implicitly contains the following methods:
61 // From the Debugger interface via JVMDebugger
62 // public void attach(int processID) throws DebuggerException;
63 // public void attach(String executableName, String coreFileName) throws DebuggerException;
64 // public boolean detach();
65 // public Address parseAddress(String addressString) throws NumberFormatException;
66 // public String getOS();
67 // public String getCPU();
68 // From the SymbolLookup interface via Debugger and JVMDebugger
|
29 import sun.jvm.hotspot.debugger.cdbg.*;
30
31 /** An extension of the JVMDebugger interface with a few additions to
32 support 32-bit vs. 64-bit debugging as well as features required
33 by the architecture-specific subpackages. */
34
35 public interface BsdDebugger extends JVMDebugger {
36 public String addressValueToString(long address) throws DebuggerException;
37 public boolean readJBoolean(long address) throws DebuggerException;
38 public byte readJByte(long address) throws DebuggerException;
39 public char readJChar(long address) throws DebuggerException;
40 public double readJDouble(long address) throws DebuggerException;
41 public float readJFloat(long address) throws DebuggerException;
42 public int readJInt(long address) throws DebuggerException;
43 public long readJLong(long address) throws DebuggerException;
44 public short readJShort(long address) throws DebuggerException;
45 public long readCInteger(long address, long numBytes, boolean isUnsigned)
46 throws DebuggerException;
47 public BsdAddress readAddress(long address) throws DebuggerException;
48 public BsdAddress readCompOopAddress(long address) throws DebuggerException;
49 public BsdAddress readCompKlassAddress(long address) throws DebuggerException;
50 public BsdOopHandle readOopHandle(long address) throws DebuggerException;
51 public BsdOopHandle readCompOopHandle(long address) throws DebuggerException;
52 public long[] getThreadIntegerRegisterSet(int lwp_id) throws DebuggerException;
53 public long getAddressValue(Address addr) throws DebuggerException;
54 public Address newAddress(long value) throws DebuggerException;
55
56 // For BsdCDebugger
57 public List getThreadList();
58 public List getLoadObjectList();
59 public ClosestSymbol lookup(long address);
60
61 // NOTE: this interface implicitly contains the following methods:
62 // From the Debugger interface via JVMDebugger
63 // public void attach(int processID) throws DebuggerException;
64 // public void attach(String executableName, String coreFileName) throws DebuggerException;
65 // public boolean detach();
66 // public Address parseAddress(String addressString) throws NumberFormatException;
67 // public String getOS();
68 // public String getCPU();
69 // From the SymbolLookup interface via Debugger and JVMDebugger
|