gdb init configuration
This commit is contained in:
49
.gdbinit.d/init
Normal file
49
.gdbinit.d/init
Normal 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
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user