]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/ChangeLog
Introduce scoped_restore_signal
[thirdparty/binutils-gdb.git] / gdb / ChangeLog
index 63d7cf53b1987e9284a333dc98abff92bf0ef0b1..a56531e9f5399e3db765d55e62250aea944982f4 100644 (file)
@@ -1,3 +1,15 @@
+2021-06-17  Pedro Alves  <pedro@palves.net>
+
+       * gdbsupport/scoped_ignore_signal.h: New.
+       * compile/compile.c: Include gdbsupport/scoped_ignore_signal.h
+       instead of <signal.h>.  Don't include <unistd.h>.
+       (scoped_ignore_sigpipe): Remove.
+       * gdbsupport/scoped_ignore_sigttou.h: Include gdbsupport/scoped_ignore_signal.h
+       instead of <signal.h>.  Don't include <unistd.h>.
+       (lazy_init): New.
+       (scoped_ignore_sigttou): Reimplement using scoped_ignore_signal
+       and lazy_init.
+
 2021-06-17  Pedro Alves  <pedro@palves.net>
 
        * Makefile.in (HFILES_NO_SRCDIR): Remove inflow.h.