mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-27 22:06:24 +02:00
gdb: Set correct gThread and cThread when break
This commit is contained in:
parent
fb1655f1ad
commit
5cad23f793
1 changed files with 1 additions and 0 deletions
|
@ -916,6 +916,7 @@ namespace Ryujinx.HLE.Debugger
|
|||
|
||||
public void BreakHandler(IExecutionContext ctx, ulong address, int imm)
|
||||
{
|
||||
gThread = cThread = ctx.ThreadUid;
|
||||
Logger.Notice.Print(LogClass.GdbStub, $"Break hit on thread {ctx.ThreadUid} at pc {address:x016}");
|
||||
|
||||
Messages.Add(new ThreadBreakMessage(ctx, address, imm));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue