Add my .gdbinit
dblume

dblume commited on 2022-08-05 17:59:15
Showing 3 changed files, with 12 additions and 1 deletions.

... ...
@@ -0,0 +1,9 @@
1
+set history save
2
+set print pretty on
3
+set print array off
4
+set print array-indexes on
5
+set python print-stack full
6
+set pagination off
7
+handle SIG38 noprint nostop
8
+handle SIG33 noprint nostop
9
+set tcp connect-timeout 120
... ...
@@ -55,6 +55,7 @@ See [config.dlma.com](http://config.dlma.com) for more.
55 55
 6. .editrc, for vi mode and tab word completion in macOS.
56 56
 7. .ssh/config, for a [fix for CVE-2016-0777](https://news.ycombinator.com/item?id=10901588). (Or upgrade to OpenSSH 7.1p2 released Jan 14, 2016 from http://www.openssh.com.)
57 57
 8. .ripgreprc, for ripgrep, or [rc](https://github.com/BurntSushi/ripgrep/).
58
+9. .gdbinit
58 59
 
59 60
 #### Optional manual steps for fresh setups
60 61
 
... ...
@@ -4,7 +4,8 @@ set -eu -o pipefail # See: https://sipb.mit.edu/doc/safe-shell/
4 4
 declare -r SCRIPT_NAME=$(basename "$BASH_SOURCE")
5 5
 declare -r backup_dir=$HOME/backup_of_dotfiles_`date "+%Y-%m-%d"`
6 6
 declare -a dotfiles=(".bashrc" ".bash_profile" ".vimrc" ".editrc" ".gitconfig"
7
-                     ".gitignore" ".inputrc" ".tmux.conf" ".ssh/config" ".ripgreprc")
7
+                     ".gitignore" ".inputrc" ".tmux.conf" ".ssh/config" ".ripgreprc"
8
+		     ".gdbinit")
8 9
 declare -i DRY_RUN=0
9 10
 
10 11
 ## exit the shell (with status 2) after printing the message
11 12