]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb: remove an unintended #undef
authorTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Thu, 16 Apr 2026 09:24:46 +0000 (11:24 +0200)
committerTankut Baris Aktemur <tankut.baris.aktemur@intel.com>
Thu, 16 Apr 2026 15:38:19 +0000 (17:38 +0200)
An #undef seems to have sneaked into gdbsupport/scoped_signal_handler.h.
This causes the HAVE_SIGACTION macro to be cleared unintentionally.
Remove the line.

Approved-By: Tom Tromey <tom@tromey.com>
gdbsupport/scoped_signal_handler.h

index d2b5a764d8925c1e0bcd55a851e6cdd3aa3f63c2..6109035c50ad0928b3945e8989fc7ca4d339cd70 100644 (file)
@@ -22,8 +22,6 @@
 
 #include <signal.h>
 
-#undef HAVE_SIGACTION
-
 /* RAII class to set a signal handler for a scope, that will take care of
    unsetting the handler when the scope is left.
    This class will try to use sigaction whenever available, following the