Bug 1310286 - Instruct gdb to ignore certain signals for which it is not useful to stop. r=glandium DONTBUILD NPOTB draft
authorBotond Ballo <botond@mozilla.com>
Fri, 14 Oct 2016 14:27:44 -0400
changeset 426591 39b002b0a789ade352445280054a0a883d27202d
parent 425409 99a36fecb7ab1c6dc56647ec17cd0862ff57fe59
child 534224 b771a09c406b3b147323e5f0a5cfd75e56968c0f
push id32755
push userbballo@mozilla.com
push dateTue, 18 Oct 2016 20:57:25 +0000
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