Update Debugging with Ghidra on Linux

Lucas Schwiderski 2025-05-07 23:19:55 +02:00
parent e0295a1230
commit 201f615720
Signed by: Forgejo (git.sclu1034.dev)
GPG key ID: B1C9C29730D3D366

@ -22,6 +22,6 @@ STEAM_COMPAT_DATA_PATH=/path/to/SteamLibrary/steamapps/compatdata/1361210
`--no-start` will make gdb wait for the frontend to send the first `continue` command, which gives time to attach Ghidra and have it set up its breakpoints `--no-start` will make gdb wait for the frontend to send the first `continue` command, which gives time to attach Ghidra and have it set up its breakpoints
5. Run the script in a terminal, a black window should appear 5. Run the script in a terminal, it will echo `target remote <host>:<port>`
6. In Ghidra, for the debugger configuration, choose "remote gdb", enter the port and run. Breakpoints should become available 6. In Ghidra, for the debugger configuration, choose "remote gdb", enter the port and run. Breakpoints should become available
7. Run `continue` (or just `c`) in the gdb terminal, or any other gdb command. 7. Run `continue` (or just `c`) in the gdb terminal to start the game, or any other gdb command.