GDB (API)
|
#include "defs.h"
#include "event-loop.h"
#include "event-top.h"
#include "queue.h"
#include <sys/types.h>
#include "gdb_string.h"
#include <errno.h>
#include <sys/time.h>
#include "exceptions.h"
#include "gdb_assert.h"
#include "gdb_select.h"
Go to the source code of this file.
#define GDB_EXCEPTION (1<<3) |
Definition at line 46 of file event-loop.c.
#define GDB_READABLE (1<<1) |
Definition at line 44 of file event-loop.c.
#define GDB_WRITABLE (1<<2) |
Definition at line 45 of file event-loop.c.
#define USE_POLL 0 |
typedef struct async_event_handler async_event_handler |
typedef struct async_signal_handler async_signal_handler |
typedef union event_data event_data |
typedef void( event_handler_func)(event_data) |
Definition at line 56 of file event-loop.c.
typedef struct file_handler file_handler |
Definition at line 55 of file event-loop.c.
typedef struct gdb_event * gdb_event_p |
void add_file_handler | ( | int | fd, |
handler_func * | proc, | ||
gdb_client_data | client_data | ||
) |
Definition at line 473 of file event-loop.c.
void call_async_signal_handler | ( | struct async_signal_handler * | handler | ) |
Definition at line 955 of file event-loop.c.
async_event_handler* create_async_event_handler | ( | async_event_handler_func * | proc, |
gdb_client_data | client_data | ||
) | [read] |
Definition at line 1031 of file event-loop.c.
async_signal_handler* create_async_signal_handler | ( | sig_handler_func * | proc, |
gdb_client_data | client_data | ||
) | [read] |
Definition at line 932 of file event-loop.c.
int create_timer | ( | int | milliseconds, |
timer_handler_func * | proc, | ||
gdb_client_data | client_data | ||
) |
Definition at line 1140 of file event-loop.c.
void delete_async_event_handler | ( | async_event_handler ** | async_handler_ptr | ) |
Definition at line 1110 of file event-loop.c.
void delete_async_signal_handler | ( | async_signal_handler ** | async_handler_ptr | ) |
Definition at line 1002 of file event-loop.c.
void delete_file_handler | ( | int | fd | ) |
Definition at line 599 of file event-loop.c.
void delete_timer | ( | int | id | ) |
Definition at line 1206 of file event-loop.c.
int gdb_do_one_event | ( | void | ) |
Definition at line 356 of file event-loop.c.
void initialize_event_loop | ( | void | ) |
Definition at line 299 of file event-loop.c.
void mark_async_event_handler | ( | async_event_handler * | async_handler_ptr | ) |
Definition at line 1054 of file event-loop.c.
void mark_async_signal_handler | ( | async_signal_handler * | async_handler_ptr | ) |
Definition at line 965 of file event-loop.c.
void start_event_loop | ( | void | ) |
Definition at line 418 of file event-loop.c.
Definition at line 230 of file event-loop.c.
struct gdb_timer* first_timer |
Definition at line 218 of file event-loop.c.
Definition at line 200 of file event-loop.c.
Definition at line 233 of file event-loop.c.
Definition at line 221 of file event-loop.c.