This commit is contained in:
Aurora Wright 2017-12-18 20:56:45 +01:00
commit f30b7b9fb3

View File

@ -576,7 +576,10 @@ static void ProcessListMenu_MemoryViewer(const ProcessInfo *info)
static inline void ProcessListMenu_HandleSelected(const ProcessInfo *info)
{
if(!gdbServer.super.running || info->isZombie)
{
ProcessListMenu_MemoryViewer(info);
return;
}
u32 id;
for(id = 0; id < MAX_DEBUG && (!(gdbServer.ctxs[id].flags & GDB_FLAG_SELECTED) || gdbServer.ctxs[id].pid != info->pid); id++);