mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-10 03:18:55 +02:00
[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>
This commit is contained in:
parent
097ccf830d
commit
f1e9e846f1
1 changed files with 11 additions and 3 deletions
|
|
@ -29,10 +29,18 @@ Ignoring SIGSEGV when debugging in host:
|
||||||
|
|
||||||
### gdb
|
### 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>`
|
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`
|
||||||
|
|
||||||
Then hook up an aarch64-gdb (use `yay aarch64-gdb` or `sudo pkg in arch64-gdb` to install)
|
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>`
|
||||||
Then type `target remote localhost:1234` and type `c` (for continue) - and then if it crashes just do a `bt` (backtrace) and `layout asm`.
|
Or `Enable GDB Stub` at General > Debug, then hook up an aarch64-gdb:
|
||||||
|
* `target remote localhost:6543`
|
||||||
|
|
||||||
|
Type `c` (for continue) and then if it crashes just do a `bt` (backtrace) and `layout asm`
|
||||||
|
|
||||||
### gdb cheatsheet
|
### gdb cheatsheet
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue