From 3d6905cf5b9589bd47d610a5fb3f37aa0e4e2929 Mon Sep 17 00:00:00 2001 From: rileyrg Date: Mon, 7 Jun 2021 19:15:21 +0200 Subject: [PATCH] pretty in gdbinit --- DotFiles/.gdbinit | 5 +++++ linux-config.org | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/DotFiles/.gdbinit b/DotFiles/.gdbinit index 9ea84f4..42d5552 100644 --- a/DotFiles/.gdbinit +++ b/DotFiles/.gdbinit @@ -7,6 +7,8 @@ set history filename ~/.gdb_history set history size 32768 set history expansion on +define pretty + set print pretty on set print symbol-filename on @@ -17,6 +19,8 @@ set confirm off set print address off set print symbol-filename off +end + define lsource list *$rip end @@ -80,6 +84,7 @@ end #### Initialise utility extensions define ext-init +pretty gef-init voltron-init end diff --git a/linux-config.org b/linux-config.org index 1e92d8d..294270d 100644 --- a/linux-config.org +++ b/linux-config.org @@ -3046,6 +3046,8 @@ Reverse engineering packges [[https://radare.gitbooks.io/radare2book/content/fir set history size 32768 set history expansion on + define pretty + set print pretty on set print symbol-filename on @@ -3056,6 +3058,8 @@ Reverse engineering packges [[https://radare.gitbooks.io/radare2book/content/fir set print address off set print symbol-filename off + end + define lsource list *$rip end @@ -3119,6 +3123,7 @@ Reverse engineering packges [[https://radare.gitbooks.io/radare2book/content/fir #### Initialise utility extensions define ext-init + pretty gef-init voltron-init end