Ok, part 2/2 of the symbol code rewrite. You can now create and use function signature files. A monkey ball signature file included. Now to add some cooler features...

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@294 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard
2008-08-24 18:50:51 +00:00
parent 23665a7b93
commit c0c6fc9e6d
29 changed files with 546 additions and 622 deletions

View File

@ -167,7 +167,7 @@ void LogManager::Log(LogTypes::LOG_TYPE _type, const char *_fmt, ...)
char* Msg2 = (char*)alloca(strlen(_fmt)+512);
Debugger::XSymbolIndex Index = 0; //Debugger::FindSymbol(PC);
int Index = 0; //Debugger::FindSymbol(PC);
#ifdef _WIN32
const char *eol = "\x0D\x0A";
#else
@ -175,12 +175,12 @@ void LogManager::Log(LogTypes::LOG_TYPE _type, const char *_fmt, ...)
#endif
if (Index > 0)
{
const Debugger::Symbol& symbol = Debugger::GetSymbol(Index);
// const Debugger::Symbol& symbol = Debugger::GetSymbol(Index);
sprintf(Msg2, "%i: %x %s (%s, %08x ) : %s%s",
++count,
PowerPC::ppcState.DebugCount,
m_Log[_type]->m_szShortName,
symbol.GetName().c_str(),
"", //symbol.GetName().c_str(),
PC,
Msg, eol);
}