public void run(PrintStream out, Debugger dbg) { CDebugger cdbg = dbg.getCDebugger(); if (cdbg != null) { List l = cdbg.getLoadObjectList(); for (Iterator itr = l.iterator(); itr.hasNext(); ) { LoadObject lo = (LoadObject) itr.next(); out.print(lo.getBase() + "\t"); out.print(lo.getSize() / 1024 + "K\t"); out.println(lo.getName()); } } else { if (getDebugeeType() == DEBUGEE_REMOTE) { out.println("remote configuration is not yet implemented"); } else { out.println("not yet implemented (debugger does not support CDebugger)!"); } } }
private Address bigIntToAddress(BigInteger i) { String s = bigIntToHexString(i); return debugger.parseAddress(s); }