#include "sim/stats.hh"
#include "sim/system.hh"
#include "sim/debug.hh"
+#include "targetarch/vptr.hh"
using namespace std;
SetupEvent(Dump, when, repeat);
}
+ void
+ addsymbol(ExecContext *xc)
+ {
+ Addr addr = xc->regs.intRegFile[16];
+ char symb[100];
+ CopyString(xc, symb, xc->regs.intRegFile[17], 100);
+ std::string symbol(symb);
+
+ DPRINTF(Loader, "Loaded symbol: %s @ %#llx\n", symbol, addr);
+
+ xc->system->kernelSymtab->insert(addr,symbol);
+ }
+
void
dumpresetstats(ExecContext *xc)
{
void readfile(ExecContext *xc);
void debugbreak(ExecContext *xc);
void switchcpu(ExecContext *xc);
+ void addsymbol(ExecContext *xc);
}