forked from ShuriZma/suyu
debugger: Fix wait_tree crash.
This commit is contained in:
parent
af8ae770ef
commit
c85e3a2234
|
@ -168,7 +168,7 @@ QString WaitTreeThread::GetText() const {
|
||||||
}
|
}
|
||||||
QString pc_info = tr(" PC = 0x%1 LR = 0x%2")
|
QString pc_info = tr(" PC = 0x%1 LR = 0x%2")
|
||||||
.arg(thread.context.pc, 8, 16, QLatin1Char('0'))
|
.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 + ") ";
|
return WaitTreeWaitObject::GetText() + pc_info + " (" + status + ") ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue