GDB (xrefs)
|
#include "defs.h"
#include "main.h"
#include "serial.h"
#include "gdbsupport/event-loop.h"
#include "gdbsupport/gdb_select.h"
#include "inferior.h"
#include <windows.h>
#include <signal.h>
Go to the source code of this file.
Functions | |
char * | windows_get_absolute_argv0 (const char *argv0) |
int | gdb_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
static int | rgb_to_16colors (const ui_file_style::color &color) |
int | gdb_console_fputs (const char *linebuf, FILE *fstream) |
tribool | sharing_input_terminal (int pid) |
static BOOL WINAPI | ctrl_c_handler (DWORD event_type) |
c_c_handler_ftype * | install_sigint_handler (c_c_handler_ftype *fn) |
Variables | |
static int | mingw_console_initialized |
static HANDLE | hstdout = INVALID_HANDLE_VALUE |
static SHORT | norm_attr |
static ui_file_style | last_style |
static c_c_handler_ftype * | current_handler |
|
static |
Definition at line 410 of file mingw-hdep.c.
References current_handler.
Referenced by install_sigint_handler().
int gdb_console_fputs | ( | const char * | linebuf, |
FILE * | fstream ) |
Definition at line 225 of file mingw-hdep.c.
References ui_file_style::BOLD, ui_file_style::DIM, ui_file_style::color::get_value(), hstdout, ui_file_style::color::is_basic(), ui_file_style::color::is_none(), last_style, mingw_console_initialized, norm_attr, ui_file_style::NORMAL, rgb_to_16colors(), and SHORT.
int gdb_select | ( | int | n, |
fd_set * | readfds, | ||
fd_set * | writefds, | ||
fd_set * | exceptfds, | ||
struct timeval * | timeout ) |
Definition at line 51 of file mingw-hdep.c.
References serial::fd, read(), and serial_for_fd().
Referenced by interruptible_select().
c_c_handler_ftype * install_sigint_handler | ( | c_c_handler_ftype * | fn | ) |
Definition at line 425 of file mingw-hdep.c.
|
static |
Definition at line 188 of file mingw-hdep.c.
References bits, and ui_file_style::color::get_rgb().
Referenced by gdb_console_fputs().
tribool sharing_input_terminal | ( | int | pid | ) |
Definition at line 379 of file mingw-hdep.c.
char * windows_get_absolute_argv0 | ( | const char * | argv0 | ) |
Definition at line 34 of file mingw-hdep.c.
Referenced by captured_main_1().
|
static |
Definition at line 406 of file mingw-hdep.c.
Referenced by ctrl_c_handler(), and install_sigint_handler().
|
static |
Definition at line 213 of file mingw-hdep.c.
Referenced by gdb_console_fputs(), and tui_initialize_io().
|
static |
Definition at line 219 of file mingw-hdep.c.
Referenced by gdb_console_fputs().
|
static |
Definition at line 210 of file mingw-hdep.c.
Referenced by gdb_console_fputs().
|
static |
Definition at line 216 of file mingw-hdep.c.
Referenced by gdb_console_fputs().