gdb init configuration

This commit is contained in:
Xarus
2025-03-04 12:01:15 +01:00
parent ca4085a943
commit fae624fefa
2 changed files with 50 additions and 0 deletions

1
.gdbinit Symbolic link
View File

@@ -0,0 +1 @@
.config.local/gdb-dashboard/.gdbinit

49
.gdbinit.d/init Normal file
View File

@@ -0,0 +1,49 @@
set print pretty on
set breakpoint pending on
set confirm off
set disassembly-flavor att
set debuginfod enabled on
set auto-load safe-path /
dashboard -layout breakpoints source stack variables !assembly !expressions !history !memory !registers !threads
dashboard stack -style limit 6
dashboard source -style height 30
define su
dashboard source scroll -1
end
document su
dashboard source scroll up
end
define sd
dashboard source scroll 1
end
document sd
dashboard source scroll down
end
define asu
dashboard assembly scroll -1
end
document asu
dashboard assembly scroll up
end
define asd
dashboard assembly scroll 1
end
document asd
dashboard assembly scroll down
end