From b9431717697e355f8cc95793405cbe22342fd99c Mon Sep 17 00:00:00 2001 From: DraVee Date: Wed, 11 Feb 2026 01:46:43 +0100 Subject: [PATCH] update --- docs/Debug.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/Debug.md b/docs/Debug.md index 97caca135a..7ec1c2ca9b 100644 --- a/docs/Debug.md +++ b/docs/Debug.md @@ -29,20 +29,18 @@ Ignoring SIGSEGV when debugging in host: ### gdb -You need to have a `aarch64-gdb`, either install or cross-compile: +You must have GDB installed for aarch64 to debug the target. Install it through your package manager, e.g.: * On Arch: * `yay aarch64-gdb` or `sudo pkg in arch64-gdb` * On Gentoo: * `sudo emerge --ask crossdev` * `crossdev -t aarch64-unknown-linux-gnu --ex-gdb` -`Enable GDB Stub` at General > Debug, then hook up an aarch64-gdb: +Run `./build/bin/eden-cli -c -d -g ` +Or `Enable GDB Stub` at General > Debug, then hook up an aarch64-gdb: * `target remote localhost:6543` -Type: -* for continue: `c` -* then if it crashes: `bt` (backtrace) -* and `layout asm` +Type `c` (for continue) and then if it crashes just do a `bt` (backtrace) and `layout asm` ### gdb cheatsheet