diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-15 14:04:43 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-10-15 14:04:43 +0200 |
commit | de00ee2895390c1a4d864c0a3e325db164325782 (patch) | |
tree | a67699590016ff5127fb15e9d9452be715733fb1 /%HOME% | |
parent | .gitconfig: add alias for checkout (diff) | |
download | linux-home-de00ee2895390c1a4d864c0a3e325db164325782.tar.gz linux-home-de00ee2895390c1a4d864c0a3e325db164325782.zip |
gdb: move basic options to top
Diffstat (limited to '%HOME%')
-rw-r--r-- | %HOME%/.gdbinit | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/%HOME%/.gdbinit b/%HOME%/.gdbinit index b025373..e675d3d 100644 --- a/%HOME%/.gdbinit +++ b/%HOME%/.gdbinit @@ -1,21 +1,21 @@ # Disable the stupid <RET>/q/c prompt: set pagination off - -# Sorry :-( -set disassembly-flavor intel - -set history save on -set history filename ~/.gdb-history -set history size 1000 - +# When I type something, I mean it: set confirm off - +# Pretty-print structures: set print pretty on define bta thread apply all backtrace end +# The Intel flavor was my first. +set disassembly-flavor intel + +set history save on +set history filename ~/.gdb-history +set history size 1000 + define xxd dump binary memory /tmp/dump.bin $arg0 ((char *)$arg0)+$arg1 shell xxd -groupsize 1 /tmp/dump.bin |