debugger: Fix wait_tree crash.

This commit is contained in:
bunnei 2018-02-13 19:03:20 -05:00
parent af8ae770ef
commit c85e3a2234
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ QString WaitTreeThread::GetText() const {
}
QString pc_info = tr(" PC = 0x%1 LR = 0x%2")
.arg(thread.context.pc, 8, 16, QLatin1Char('0'))
.arg(thread.context.cpu_registers[31], 8, 16, QLatin1Char('0'));
.arg(thread.context.cpu_registers[30], 8, 16, QLatin1Char('0'));
return WaitTreeWaitObject::GetText() + pc_info + " (" + status + ") ";
}