OLD | NEW |
1 /* Host support routines for MinGW, for GDB, the GNU debugger. | 1 /* Host support routines for MinGW, for GDB, the GNU debugger. |
2 | 2 |
3 Copyright (C) 2006-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2006-2012 Free Software Foundation, Inc. |
4 | 4 |
5 This file is part of GDB. | 5 This file is part of GDB. |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify | 7 This program is free software; you can redistribute it and/or modify |
8 it under the terms of the GNU General Public License as published by | 8 it under the terms of the GNU General Public License as published by |
9 the Free Software Foundation; either version 3 of the License, or | 9 the Free Software Foundation; either version 3 of the License, or |
10 (at your option) any later version. | 10 (at your option) any later version. |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 if (immediate_p) | 244 if (immediate_p) |
245 sigint_handler = handler; | 245 sigint_handler = handler; |
246 else | 246 else |
247 { | 247 { |
248 mark_async_signal_handler (handler); | 248 mark_async_signal_handler (handler); |
249 sigint_handler = NULL; | 249 sigint_handler = NULL; |
250 } | 250 } |
251 SetEvent (sigint_event); | 251 SetEvent (sigint_event); |
252 } | 252 } |
253 | 253 |
| 254 /* -Wmissing-prototypes */ |
| 255 extern initialize_file_ftype _initialize_mingw_hdep; |
| 256 |
254 void | 257 void |
255 _initialize_mingw_hdep (void) | 258 _initialize_mingw_hdep (void) |
256 { | 259 { |
257 sigint_event = CreateEvent (0, FALSE, FALSE, 0); | 260 sigint_event = CreateEvent (0, FALSE, FALSE, 0); |
258 } | 261 } |
OLD | NEW |