Update winedbg GDB proxy support

The GDB proxy now seems to work again, but only in remote sessions.
This commit is contained in:
Robbert van der Helm
2021-01-02 18:21:18 +01:00
parent 1b47522de8
commit 26c04cf246
2 changed files with 17 additions and 18 deletions
+4 -5
View File
@@ -41,11 +41,10 @@ template <typename... Args>
bp::child launch_host(fs::path host_path, Args&&... args) {
return bp::child(
#ifdef WITH_WINEDBG
// This is set up for KDE Plasma. Other desktop environments and
// window managers require some slight modifications to spawn a
// detached terminal emulator.
"/usr/bin/kstart5", "konsole", "--", "-e", "winedbg", "--gdb",
host_path.string() + ".so",
// Use the terminal output or `$YABRIDGE_DEBUG_LOG` to get yabridge's
// output, and use the printed target command in a GDB session where you
// load the yabridge `.so` file you're trying to debug
"/usr/bin/winedbg", "--gdb", "--no-start", host_path.string() + ".so",
#else
host_path,
#endif