mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 01:49:39 -06:00
gdb: Set correct gThread and cThread when break
This commit is contained in:
@ -916,6 +916,7 @@ namespace Ryujinx.HLE.Debugger
|
|||||||
|
|
||||||
public void BreakHandler(IExecutionContext ctx, ulong address, int imm)
|
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}");
|
Logger.Notice.Print(LogClass.GdbStub, $"Break hit on thread {ctx.ThreadUid} at pc {address:x016}");
|
||||||
|
|
||||||
Messages.Add(new ThreadBreakMessage(ctx, address, imm));
|
Messages.Add(new ThreadBreakMessage(ctx, address, imm));
|
||||||
|
Reference in New Issue
Block a user