X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=misc%2Fgdb%2Fgdbinit;h=01b5d8b9902b15e2cedfac2525dbff968ca5a53f;hb=84d3ad2ef3d7527ce4d6535647b99b3616b57896;hp=59b79c0784715899926b7115998ac899875d51b2;hpb=00b4c91969f0ee1fd7ea4e87a0b0e1ab9407c87c;p=config%2Fdotfiles.git 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