GDB (xrefs)
Typedefs | Functions
/tmp/gdb-7.10/gdb/event-loop.h File Reference

Go to the source code of this file.

Typedefs

typedef void * gdb_client_data
 
typedef void( handler_func) (int, gdb_client_data)
 
typedef void( sig_handler_func) (gdb_client_data)
 
typedef void( async_event_handler_func) (gdb_client_data)
 
typedef void( timer_handler_func) (gdb_client_data)
 

Functions

void start_event_loop (void)
 
int gdb_do_one_event (void)
 
void delete_file_handler (int fd)
 
void add_file_handler (int fd, handler_func *proc, gdb_client_data client_data)
 
struct async_signal_handlercreate_async_signal_handler (sig_handler_func *proc, gdb_client_data client_data)
 
void delete_async_signal_handler (struct async_signal_handler **)
 
int create_timer (int milliseconds, timer_handler_func *proc, gdb_client_data client_data)
 
void delete_timer (int id)
 
void call_async_signal_handler (struct async_signal_handler *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)
 
void gdb_call_async_signal_handler (struct async_signal_handler *handler, int immediate_p)
 
struct async_event_handlercreate_async_event_handler (async_event_handler_func *proc, gdb_client_data client_data)
 
void delete_async_event_handler (struct async_event_handler **handler_ptr)
 
void mark_async_event_handler (struct async_event_handler *handler)
 
void clear_async_event_handler (struct async_event_handler *handler)
 

Typedef Documentation

typedef void( async_event_handler_func) (gdb_client_data)

Definition at line 75 of file event-loop.h.

typedef void* gdb_client_data

Definition at line 70 of file event-loop.h.

typedef void( handler_func) (int, gdb_client_data)

Definition at line 73 of file event-loop.h.

typedef void( sig_handler_func) (gdb_client_data)

Definition at line 74 of file event-loop.h.

typedef void( timer_handler_func) (gdb_client_data)

Definition at line 76 of file event-loop.h.

Function Documentation

void add_file_handler ( int  fd,
handler_func proc,
gdb_client_data  client_data 
)
int async_signal_handler_is_marked ( struct async_signal_handler handler)

Definition at line 922 of file event-loop.c.

References async_signal_handler::ready.

Referenced by remote_check_pending_interrupt().

void call_async_signal_handler ( struct async_signal_handler handler)
void clear_async_event_handler ( struct async_event_handler handler)

Definition at line 1019 of file event-loop.c.

References async_event_handler::ready.

Referenced by record_btrace_async(), record_full_async(), and remote_async().

void clear_async_signal_handler ( struct async_signal_handler handler)

Definition at line 914 of file event-loop.c.

References async_signal_handler::ready.

Referenced by remote_check_pending_interrupt().

struct async_event_handler* create_async_event_handler ( async_event_handler_func proc,
gdb_client_data  client_data 
)
struct async_signal_handler* create_async_signal_handler ( sig_handler_func proc,
gdb_client_data  client_data 
)
int create_timer ( int  milliseconds,
timer_handler_func proc,
gdb_client_data  client_data 
)
void delete_async_event_handler ( struct async_event_handler **  handler_ptr)
void delete_async_signal_handler ( struct async_signal_handler **  )

Definition at line 959 of file event-loop.c.

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

void delete_file_handler ( int  fd)
void delete_timer ( int  id)

Definition at line 1146 of file event-loop.c.

References gdb_notifier, gdb_timer::next, gdb_timer::timer_id, timer_list, and xfree().

Referenced by reschedule(), and ser_base_async().

void gdb_call_async_signal_handler ( struct async_signal_handler handler,
int  immediate_p 
)
int gdb_do_one_event ( void  )
void mark_async_event_handler ( struct async_event_handler handler)
void mark_async_signal_handler ( struct async_signal_handler handler)
void start_event_loop ( void  )