Fixed a crash in the 'symlist' debugger command (MT#6575)

This commit is contained in:
Nathan Woods 2017-05-03 09:06:27 -04:00
parent ca123eded2
commit e38d3fb15d

View File

@ -2931,8 +2931,7 @@ void debugger_commands::execute_symlist(int ref, const std::vector<std::string>
symbol_table *symtable;
int symnum, count = 0;
if (!params[0].empty())
if (!params.empty())
{
/* validate parameters */
if (!validate_cpu_parameter(params[0].c_str(), cpu))