X-Git-Url: https://ruderich.org/simon/gitweb/?p=config%2Fdotfiles.git;a=blobdiff_plain;f=misc%2Fgdb%2Fgdbinit;h=01b5d8b9902b15e2cedfac2525dbff968ca5a53f;hp=59b79c0784715899926b7115998ac899875d51b2;hb=a1711dfb28f7d53a046e14fed0198d30b2a01568;hpb=c5b5704153f503f37d7b89aadc0d047c60db1b37 diff --git a/misc/gdb/gdbinit b/misc/gdb/gdbinit index 59b79c0..01b5d8b 100644 --- a/misc/gdb/gdbinit +++ b/misc/gdb/gdbinit @@ -34,4 +34,11 @@ set output-radix 16 # without debug information. set disassemble-next-line on + +# Don't stop on SIGUSR1 and instead let the program handle it. Thanks to +# peeterjot [1] for the idea (read on 2018-02-02). +# +# [1]: https://peeterjoot.wordpress.com/2010/07/07/avoiding-gdb-signal-noise/ +handle SIGUSR1 noprint nostop + # vim: ft=gdb