Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] gdb: remove an unintended #undef
@ 2026-04-16 11:36 Tankut Baris Aktemur
  2026-04-16 15:36 ` Tom Tromey
  0 siblings, 1 reply; 2+ messages in thread
From: Tankut Baris Aktemur @ 2026-04-16 11:36 UTC (permalink / raw)
  To: gdb-patches

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.
---
 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
-- 
2.34.1

Intel Deutschland GmbH
Registered Address: Dornacher Strasse 1, 85622 Feldkirchen, Germany
Tel: +49 89 991 430, www.intel.de
Managing Directors: Harry Demas, Jeffrey Schneiderman, Yin Chong Sorrell
Chairperson of the Supervisory Board: Nicole Lau
Registered Seat: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gdb: remove an unintended #undef
  2026-04-16 11:36 [PATCH] gdb: remove an unintended #undef Tankut Baris Aktemur
@ 2026-04-16 15:36 ` Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2026-04-16 15:36 UTC (permalink / raw)
  To: Tankut Baris Aktemur; +Cc: gdb-patches

>>>>> Tankut Baris Aktemur <tankut.baris.aktemur@intel.com> writes:

> 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.

Thank you, and thanks for noticing this.

Approved-By: Tom Tromey <tom@tromey.com>

Tom

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-04-16 15:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-16 11:36 [PATCH] gdb: remove an unintended #undef Tankut Baris Aktemur
2026-04-16 15:36 ` Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox