From 1b14d6f92b1b8a692ae4654699abeee03fc6b289 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 2 May 2026 10:03:53 +0300 Subject: [PATCH] * src/.gdbinit: Ignore SIGPIPE. (Bug#80911) --- src/.gdbinit | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/.gdbinit b/src/.gdbinit index f9ecb2cef5a..a82fedf3027 100644 --- a/src/.gdbinit +++ b/src/.gdbinit @@ -41,15 +41,13 @@ handle SIGTSTP nopass handle SIGUSR1 noprint pass handle SIGUSR2 noprint pass +# Similarly with SIGPIPE (happens, e.g., with GnuTLS). +handle SIGPIPE nostop noprint pass + # Don't pass SIGALRM to Emacs. This makes problems when # debugging. handle SIGALRM ignore -# On selection send failed. -if defined_HAVE_PGTK - handle SIGPIPE nostop noprint -end - # Helper command to get the pointer to the C struct that holds the data # of a Lisp object given as argument, by removing the GC and type-tag bits. # Stores the result in $ptr.