[PATCH v5] gdb: Introduce RAII signal handler setter

Tom Tromey tom@tromey.com
Fri Nov 22 15:55:10 GMT 2024


>>>>> "Guinevere" == Guinevere Larsen <guinevere@redhat.com> writes:

Guinevere> +#if defined (HAVE_SIGACTION)
Guinevere> +  struct sigaction m_prev_handler;
Guinevere> +#else
Guinevere> +  typedef sighandler_t m_prev_handler;
Guinevere> +#endif

That #else branch looks wrong, I would guess s/typedef//

gnulib says sigaction isn't on mingw, so maybe a mingw cross-hosted
build would show the problem.

Tom


More information about the Gdb-patches mailing list