Rosalina: Fix crash for external PMDBG_DebugNextApplicationByForce
This commit is contained in:
parent
80aee6fdc1
commit
0c3f51815e
@ -72,6 +72,8 @@ MyThread *debuggerCreateDebugThread(void)
|
|||||||
void debuggerFetchAndSetNextApplicationDebugHandleTask(void *argdata)
|
void debuggerFetchAndSetNextApplicationDebugHandleTask(void *argdata)
|
||||||
{
|
{
|
||||||
(void)argdata;
|
(void)argdata;
|
||||||
|
if(!nextApplicationGdbCtx)
|
||||||
|
return;
|
||||||
Handle debug = 0;
|
Handle debug = 0;
|
||||||
PMDBG_RunQueuedProcess(&debug);
|
PMDBG_RunQueuedProcess(&debug);
|
||||||
GDB_LockAllContexts(&gdbServer);
|
GDB_LockAllContexts(&gdbServer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user