• Rémi Bernon's avatar
    winedbg: Rewrite and simplify step / continue handlers. · 983d02c0
    Rémi Bernon authored
    The vCont handler used some overcomplicated logic, we only need to
    iterate over the actions and apply them on the matching threads that
    didn't match yet.
    
    Thanks to DBG_REPLY_LATER we can now continue/step any thread regardless
    of whether it is the one that raised the debug event. Just suspend all
    active threads after debug event is raised and resume them one by one,
    according to the gdb request. If the thread that raised the debug event
    should not be resumed, reply with DBG_REPLY_LATER.
    Signed-off-by: 's avatarRémi Bernon <rbernon@codeweavers.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    983d02c0
winedbg.c 23.7 KB