Bug 1310286 - Instruct gdb to ignore certain signals for which it is not useful to stop. r=glandium DONTBUILD NPOTB
MozReview-Commit-ID: BuZhNoNcC2p
--- 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