SDL2: Add GDB stub options to SDL2 frontend

# Conflicts:
#	src/Ryujinx.Headless.SDL2/Program.cs
This commit is contained in:
merry 2022-02-08 20:05:23 +00:00 committed by svc64
parent 6edc00ec9c
commit deccf05e60
1 changed files with 8 additions and 8 deletions

View File

@ -225,17 +225,17 @@ namespace Ryujinx.Headless.SDL2
[Option("ignore-missing-services", Required = false, Default = false, HelpText = "Enable ignoring missing services.")]
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
[Value(0, MetaName = "input", HelpText = "Input to load.", Required = true)]
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; }
}
}