GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Functions | Variables
async-event.c File Reference
#include "defs.h"
#include "async-event.h"
#include "ser-event.h"
#include "top.h"
#include "ui.h"

Go to the source code of this file.

Classes

struct  async_signal_handler
 
struct  async_event_handler
 

Functions

static void async_signals_handler (int error, gdb_client_data client_data)
 
void initialize_async_signal_handlers (void)
 
async_signal_handlercreate_async_signal_handler (sig_handler_func *proc, gdb_client_data client_data, const char *name)
 
void mark_async_signal_handler (async_signal_handler *async_handler_ptr)
 
void clear_async_signal_handler (async_signal_handler *async_handler_ptr)
 
int async_signal_handler_is_marked (async_signal_handler *async_handler_ptr)
 
int invoke_async_signal_handlers (void)
 
void delete_async_signal_handler (async_signal_handler **async_handler_ptr)
 
async_event_handlercreate_async_event_handler (async_event_handler_func *proc, gdb_client_data client_data, const char *name)
 
void mark_async_event_handler (async_event_handler *async_handler_ptr)
 
void clear_async_event_handler (async_event_handler *async_handler_ptr)
 
bool async_event_handler_marked (async_event_handler *handler)
 
int check_async_event_handlers ()
 
void delete_async_event_handler (async_event_handler **async_handler_ptr)
 

Variables

static struct { ... }  sighandler_list
 
struct { 
 
   async_event_handler *   first_handler 
 
   async_event_handler *   last_handler 
 
async_event_handler_list 
 
static struct serial_event * async_signal_handlers_serial_event
 

Function Documentation

◆ async_event_handler_marked()

bool async_event_handler_marked ( async_event_handler * handler)

◆ async_signal_handler_is_marked()

int async_signal_handler_is_marked ( async_signal_handler * async_handler_ptr)

Definition at line 195 of file async-event.c.

References async_signal_handler::ready.

◆ async_signals_handler()

static void async_signals_handler ( int error,
gdb_client_data client_data )
static

Definition at line 112 of file async-event.c.

Referenced by initialize_async_signal_handlers().

◆ check_async_event_handlers()

int check_async_event_handlers ( )

◆ clear_async_event_handler()

void clear_async_event_handler ( async_event_handler * async_handler_ptr)

◆ clear_async_signal_handler()

void clear_async_signal_handler ( async_signal_handler * async_handler_ptr)

Definition at line 185 of file async-event.c.

References async_signal_handler::name, and async_signal_handler::ready.

◆ create_async_event_handler()

async_event_handler * create_async_event_handler ( async_event_handler_func * proc,
gdb_client_data client_data,
const char * name )

◆ create_async_signal_handler()

async_signal_handler * create_async_signal_handler ( sig_handler_func * proc,
gdb_client_data client_data,
const char * name )

◆ delete_async_event_handler()

void delete_async_event_handler ( async_event_handler ** async_handler_ptr)

◆ delete_async_signal_handler()

void delete_async_signal_handler ( async_signal_handler ** async_handler_ptr)

Definition at line 243 of file async-event.c.

References async_signal_handler::next_handler, sighandler_list, and xfree().

◆ initialize_async_signal_handlers()

void initialize_async_signal_handlers ( void )

◆ invoke_async_signal_handlers()

int invoke_async_signal_handlers ( void )

◆ mark_async_event_handler()

void mark_async_event_handler ( async_event_handler * async_handler_ptr)

◆ mark_async_signal_handler()

void mark_async_signal_handler ( async_signal_handler * async_handler_ptr)

Variable Documentation

◆ [struct]

struct { ... } async_event_handler_list

◆ async_signal_handlers_serial_event

struct serial_event* async_signal_handlers_serial_event
static

◆ first_handler

async_event_handler* first_handler

Definition at line 97 of file async-event.c.

◆ last_handler

async_event_handler* last_handler

Definition at line 100 of file async-event.c.

◆ []

struct { ... } sighandler_list