GDB (xrefs)
Loading...
Searching...
No Matches
Typedefs | Functions
/tmp/gdb-13.1/gdb/async-event.h File Reference
#include "gdbsupport/event-loop.h"

Go to the source code of this file.

Typedefs

typedef void() sig_handler_func(gdb_client_data)
 
typedef void() async_event_handler_func(gdb_client_data)
 

Functions

struct async_signal_handlercreate_async_signal_handler (sig_handler_func *proc, gdb_client_data client_data, const char *name)
 
void delete_async_signal_handler (struct async_signal_handler **)
 
void mark_async_signal_handler (struct async_signal_handler *handler)
 
int async_signal_handler_is_marked (struct async_signal_handler *handler)
 
void clear_async_signal_handler (struct async_signal_handler *handler)
 
struct async_event_handlercreate_async_event_handler (async_event_handler_func *proc, gdb_client_data client_data, const char *name)
 
void delete_async_event_handler (struct async_event_handler **handler_ptr)
 
void mark_async_event_handler (struct async_event_handler *handler)
 
bool async_event_handler_marked (async_event_handler *handler)
 
void clear_async_event_handler (struct async_event_handler *handler)
 
void initialize_async_signal_handlers (void)
 

Typedef Documentation

◆ async_event_handler_func

typedef void() async_event_handler_func(gdb_client_data)

Definition at line 36 of file async-event.h.

◆ sig_handler_func

typedef void() sig_handler_func(gdb_client_data)

Definition at line 26 of file async-event.h.

Function Documentation

◆ async_event_handler_marked()

bool async_event_handler_marked ( async_event_handler handler)

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

References async_event_handler::ready.

Referenced by remote_target::has_pending_events(), and remote_target::wait().

◆ async_signal_handler_is_marked()

int async_signal_handler_is_marked ( struct async_signal_handler handler)

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

References async_signal_handler::ready.

◆ clear_async_event_handler()

void clear_async_event_handler ( struct async_event_handler handler)

◆ clear_async_signal_handler()

void clear_async_signal_handler ( struct async_signal_handler handler)

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

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

◆ create_async_event_handler()

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

◆ create_async_signal_handler()

struct 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 ( struct async_event_handler **  handler_ptr)

◆ delete_async_signal_handler()

void delete_async_signal_handler ( struct async_signal_handler **  async_handler_ptr)

Definition at line 242 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  )

◆ mark_async_event_handler()

void mark_async_event_handler ( struct async_event_handler handler)

◆ mark_async_signal_handler()

void mark_async_signal_handler ( struct async_signal_handler handler)