[binutils-gdb] Fix MinGW native compilation of gdb/gdbsupport/gdb_wait.c

Eli Zaretskii eliz@sourceware.org
Mon Jan 6 19:55:00 GMT 2020


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=66182876b46d40163e81504f7fa4f206268cb83c

commit 66182876b46d40163e81504f7fa4f206268cb83c
Author: Eli Zaretskii <eliz@gnu.org>
Date:   Mon Jan 6 21:54:21 2020 +0200

    Fix MinGW native compilation of gdb/gdbsupport/gdb_wait.c
    
    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.

Diff:
---
 gdb/ChangeLog             | 5 +++++
 gdb/gdbsupport/gdb_wait.c | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 476712e..521d101 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/gdbsupport/gdb_wait.c b/gdb/gdbsupport/gdb_wait.c
index 037ba64..6facc48 100644
--- a/gdb/gdbsupport/gdb_wait.c
+++ b/gdb/gdbsupport/gdb_wait.c
@@ -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 */



More information about the Gdb-cvs mailing list