gdbinit script

This commit is contained in:
uosfz 2025-02-21 16:08:03 +01:00
parent 0e730bf6ba
commit 1844224924
Signed by: uosfz
SSH key fingerprint: SHA256:FlktuluyhTQg3jHZNLKwxOOC5hbfrUXM0tz3IA3lGJo
2 changed files with 4 additions and 6 deletions

4
.gdbinit Normal file
View file

@ -0,0 +1,4 @@
file build/boot/sys/core
target remote :3117
b _start
c

View file

@ -1,6 +0,0 @@
# steps
- run the `debug_run_qemu` script.
- in another window, run `gdb`.
- inside gdb, run `file build/boot/sys/core`.
- run `target remote :3117`.
- start with `c`. Best set a breakpoint before!