mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-28 03:23:05 +00:00
SDL2: Add GDB stub options to SDL2 frontend
# Conflicts: # src/Ryujinx.Headless.SDL2/Program.cs
This commit is contained in:
parent
6edc00ec9c
commit
deccf05e60
1 changed files with 8 additions and 8 deletions
|
@ -225,17 +225,17 @@ namespace Ryujinx.Headless.SDL2
|
||||||
[Option("ignore-missing-services", Required = false, Default = false, HelpText = "Enable ignoring missing services.")]
|
[Option("ignore-missing-services", Required = false, Default = false, HelpText = "Enable ignoring missing services.")]
|
||||||
public bool IgnoreMissingServices { get; set; }
|
public bool IgnoreMissingServices { get; set; }
|
||||||
|
|
||||||
|
// Debug
|
||||||
|
|
||||||
|
[Option("enable-gdb-stub", Required = false, Default = false, HelpText = "Enables the GDB stub so that a developer can attach a debugger to the emulated process.")]
|
||||||
|
public bool EnableGdbStub { get; set; }
|
||||||
|
|
||||||
|
[Option("gdb-stub-port", Required = false, Default = 55555, HelpText = "Specifies which TCP port the GDB stub listens on.")]
|
||||||
|
public ushort GdbStubPort { get; set; }
|
||||||
|
|
||||||
// Values
|
// Values
|
||||||
|
|
||||||
[Value(0, MetaName = "input", HelpText = "Input to load.", Required = true)]
|
[Value(0, MetaName = "input", HelpText = "Input to load.", Required = true)]
|
||||||
public string InputPath { get; set; }
|
public string InputPath { get; set; }
|
||||||
|
|
||||||
// Debugging
|
|
||||||
|
|
||||||
[Option("enable-gdb-stub", Required = false, Default = false, HelpText = "Enable the GDB stub.")]
|
|
||||||
public bool EnableGdbStub { get; set; }
|
|
||||||
|
|
||||||
[Option("gdb-stub-port", Required = false, Default = 55555, HelpText = "GDB stub port.")]
|
|
||||||
public ushort GdbStubPort { get; set; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue