[binutils-gdb] gdb: remove an unintended #undef
Tankut Baris Aktemur via Gdb-cvs <[email protected]>
| Newsgroups | gmane.comp.gdb.cvs |
|---|---|
| Message-ID | <[email protected]> |
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=68e953e34b744d4584a04c314e6b9f65709c3333 commit 68e953e34b744d4584a04c314e6b9f65709c3333 Author: Tankut Baris Aktemur <[email protected]> Date: Thu Apr 16 11:24:46 2026 +0200 gdb: remove an unintended #undef 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 <[email protected]> Diff: --- gdbsupport/scoped_signal_handler.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/gdbsupport/scoped_signal_handler.h b/gdbsupport/scoped_signal_handler.h index d2b5a764d89..6109035c50a 100644 --- a/gdbsupport/scoped_signal_handler.h +++ b/gdbsupport/scoped_signal_handler.h @@ -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