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 363463 976afe6602270fe72dcfc7e5eafd076620405af7
parent 363462 738663e0c33d872b34c6912db9cec292b128a038
child 363464 504ca901dd7490ec4f68a2c6445e5404b47ddd9c
push id1369
push userjlorenzo@mozilla.com
push dateMon, 27 Feb 2017 14:59:41 +0000
treeherdermozilla-release@d75a1dba431f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersglandium
bugs1310286
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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