Fix MinGW native compilation of gdb/gdbsupport/gdb_wait.c
authorEli Zaretskii <eliz@gnu.org>
Mon, 6 Jan 2020 19:54:21 +0000 (21:54 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 6 Jan 2020 19:54:21 +0000 (21:54 +0200)
gdb/ChangeLog
2020-01-06  Eli Zaretskii  <eliz@gnu.org>

* gdbsupport/gdb_wait.c: Include <signal.h> instead of
gdb/signals.h, as we are now using native signal symbols.

gdb/ChangeLog
gdb/gdbsupport/gdb_wait.c

index 476712e6cba33a169c174809d08b2f07f5bd667f..521d1010295d95e16296fd06c91f976e0c904079 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * gdbsupport/gdb_wait.c: Include <signal.h> instead of
+       gdb/signals.h, as we are now using native signal symbols.
+
 2020-01-06  Shahab Vahedi  <shahab@synopsys.com>
 
        * tui/tui-disasm.c (tui_disasm_window::addr_is_displayed): Avoid
index 037ba643db44817ee5d34e88a5e13cff0419dc79..6facc48495a330a0e9dd944cffeab0f7102aa893 100644 (file)
@@ -34,7 +34,7 @@
    false positives is justified by the utility of reporting the
    terminating signal in the "normal" cases.  */
 
-# include "gdb/signals.h"      /* for enum gdb_signal */
+# include <signal.h>
 
 # define WIN32_LEAN_AND_MEAN
 # include <windows.h>          /* for EXCEPTION_* constants */