Rewrite SymbolTable

This commit is contained in:
Kingcom committed 2013-11-27 13:33:30 +01:00
1 parent 33da416a82
commit 5844d0107b
13 files changed
+527 -625

No files matched your search

+2 -2
View File
@@ -221,8 +221,8 @@ void MIPSDebugInterface::toggleBreakpoint(unsigned int address)
int MIPSDebugInterface::getColor(unsigned int address)
{
int colors[6] = {0xe0FFFF,0xFFe0e0,0xe8e8FF,0xFFe0FF,0xe0FFe0,0xFFFFe0};
int n=symbolMap.GetSymbolNum(address);
if (n==-1 || symbolMap.GetSymbolSize(n) < 4) return 0xFFFFFF;
int n=symbolMap.GetFunctionNum(address);
if (n==-1) return 0xFFFFFF;
return colors[n%6];
}
const char *MIPSDebugInterface::getDescription(unsigned int address)