Cleanup - added note about CmdSymbolsLoad() zero args

(cherry picked from commit 9de7a1ca922046542cc998a04993012569e9fb54)
This commit is contained in:
michaelangel007 2014-11-27 09:37:24 -08:00
parent 6e5ff918c4
commit 0910f05817

View File

@ -641,7 +641,6 @@ int ParseSymbolTable( TCHAR *pPathFileName, SymbolTable_Index_e eSymbolTableWrit
return nSymbolsLoaded;
}
//===========================================================================
Update_t CmdSymbolsLoad (int nArgs)
{
@ -657,20 +656,9 @@ Update_t CmdSymbolsLoad (int nArgs)
int nSymbols = 0;
// Debugger will call us with 0 args on startup as a way to pre-load symbol tables
if (! nArgs)
{
// Default to main table
// if (g_iCommand == CMD_SYMBOLS_MAIN)
// _tcscat(sFileName, g_sFileNameSymbolsMain );
// else
// {
// if (! _tcslen( g_sFileNameSymbolsUser ))
// {
// return ConsoleDisplayError(TEXT("No user symbol file to reload."));
// }
// // load user symbols
// _tcscat( sFileName, g_sFileNameSymbolsUser );
// }
_tcscat(sFileName, g_sFileNameSymbols[ iSymbolTable ]);
nSymbols = ParseSymbolTable( sFileName, (SymbolTable_Index_e) iSymbolTable );
}