Bug 1310286 - Instruct gdb to ignore certain signals for which it is not useful to stop. r=glandium DONTBUILD NPOTB
authorBotond Ballo <botond@mozilla.com>
Fri, 14 Oct 2016 14:27:44 -0400
changeset 351513 976afe6602270fe72dcfc7e5eafd076620405af7
parent 351512 738663e0c33d872b34c6912db9cec292b128a038
child 351514 504ca901dd7490ec4f68a2c6445e5404b47ddd9c
push idunknown
push userunknown
push dateunknown
reviewersglandium
bugs1310286
milestone52.0a1
Bug 1310286 - Instruct gdb to ignore certain signals for which it is not useful to stop. r=glandium DONTBUILD NPOTB MozReview-Commit-ID: BuZhNoNcC2p
.gdbinit
--- a/.gdbinit
+++ b/.gdbinit
@@ -6,16 +6,22 @@
 #
 #  add-auto-load-safe-path ~/moz
 
 # Don't stop for the SIG32/33/etc signals that Flash produces
 handle SIG32 noprint nostop pass
 handle SIG33 noprint nostop pass
 handle SIGPIPE noprint nostop pass
 
+# Don't stop for certain other signals where it's not useful,
+# such as the SIG64 signals triggered by the Linux
+# sandboxing code on older kernels.
+handle SIG38 noprint nostop pass
+handle SIG64 noprint nostop pass
+
 # Show the concrete types behind nsIFoo
 set print object on
 
 # run when using the auto-solib-add trick
 def prun
         tbreak main
         run
 	set auto-solib-add 0