diff options
| author | DraVee <dravee@eden-emu.dev> | 2026-02-22 05:29:57 +0100 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-02-22 05:29:57 +0100 |
| commit | f1e9e846f16fb744f301ef6a290d1d1a7edf813c (patch) | |
| tree | cd1574b2f954b0d686c9ca22bbe58d41aed07d76 /docs/Debug.md | |
| parent | 097ccf830d47a920d0bb0b343c9acadeb6a50dad (diff) | |
[docs] Add Gentoo and Arch Linux packages to GDB instructions (#3521)
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3521
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
Co-authored-by: DraVee <dravee@eden-emu.dev>
Co-committed-by: DraVee <dravee@eden-emu.dev>
Diffstat (limited to 'docs/Debug.md')
| -rw-r--r-- | docs/Debug.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docs/Debug.md b/docs/Debug.md index f338bc1eeb..f384918fe2 100644 --- a/docs/Debug.md +++ b/docs/Debug.md @@ -29,10 +29,18 @@ Ignoring SIGSEGV when debugging in host: ### gdb +You must have GDB installed for aarch64 to debug the target. Install it through your package manager, e.g.: +* On Arch: + * `sudo pacman -Syu aarch64-linux-gnu-gdb` +* On Gentoo: + * `sudo emerge --ask crossdev` + * `sudo crossdev -t aarch64-unknown-linux-gnu --ex-gdb` + Run `./build/bin/eden-cli -c <path to your config file (see logs where you run eden normally to see where it is)> -d -g <path to game>` +Or `Enable GDB Stub` at General > Debug, then hook up an aarch64-gdb: +* `target remote localhost:6543` -Then hook up an aarch64-gdb (use `yay aarch64-gdb` or `sudo pkg in arch64-gdb` to install) -Then type `target remote localhost:1234` and type `c` (for continue) - and then if it crashes just do a `bt` (backtrace) and `layout asm`. +Type `c` (for continue) and then if it crashes just do a `bt` (backtrace) and `layout asm` ### gdb cheatsheet |
