GDBserver
Typedefs | Functions
/home/stan/gdb/src/gdb/gdbserver/event-loop.h File Reference

Go to the source code of this file.

Typedefs

typedef void * gdb_client_data
typedef int( handler_func )(int, gdb_client_data)
typedef int( callback_handler_func )(gdb_client_data)

Functions

void delete_file_handler (gdb_fildes_t fd)
void add_file_handler (gdb_fildes_t fd, handler_func *proc, gdb_client_data client_data)
int append_callback_event (callback_handler_func *proc, gdb_client_data client_data)
void delete_callback_event (int id)
void start_event_loop (void)
void initialize_event_loop (void)

Typedef Documentation

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

typedef void* gdb_client_data

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

typedef int( handler_func)(int, gdb_client_data)

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


Function Documentation

void add_file_handler ( gdb_fildes_t  fd,
handler_func proc,
gdb_client_data  client_data 
)

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

References create_file_handler(), GDB_EXCEPTION, and GDB_READABLE.

Referenced by handle_accept_event(), linux_async(), and remote_open().

int append_callback_event ( callback_handler_func proc,
gdb_client_data  client_data 
)
void delete_callback_event ( int  id)

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

References callback_list, callback_event::id, and callback_event::next.

Referenced by reset_readchar().

void initialize_event_loop ( void  )

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

References gdb_event_xfree(), and QUEUE_alloc.

Referenced by main().

void start_event_loop ( void  )

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

References process_callback(), process_event(), and wait_for_event().

Referenced by main().

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines