GDB (xrefs)
Functions | Variables
/tmp/gdb-7.10/gdb/remote-notif.c File Reference
#include "defs.h"
#include "remote.h"
#include "remote-notif.h"
#include "observer.h"
#include "event-loop.h"
#include "target.h"
#include "inferior.h"
#include "infrun.h"
#include "gdbcmd.h"

Go to the source code of this file.

Functions

 gdb_static_assert (ARRAY_SIZE(notifs)==REMOTE_NOTIF_LAST)
 
static void do_notif_event_xfree (void *arg)
 
void remote_notif_ack (struct notif_client *nc, char *buf)
 
struct notif_eventremote_notif_parse (struct notif_client *nc, char *buf)
 
 DEFINE_QUEUE_P (notif_client_p)
 
void remote_notif_process (struct remote_notif_state *state, struct notif_client *except)
 
static void remote_async_get_pending_events_handler (gdb_client_data data)
 
void handle_notification (struct remote_notif_state *state, char *buf)
 
void notif_event_xfree (struct notif_event *event)
 
struct remote_notif_stateremote_notif_state_allocate (void)
 
void remote_notif_state_xfree (struct remote_notif_state *state)
 
void _initialize_notif (void)
 

Variables

int notif_debug = 0
 
static struct notif_clientnotifs []
 
initialize_file_ftype _initialize_notif
 

Function Documentation

void _initialize_notif ( void  )

Definition at line 277 of file remote-notif.c.

References _, add_setshow_boolean_cmd(), no_class, notif_debug, setdebuglist, and showdebuglist.

DEFINE_QUEUE_P ( notif_client_p  )
static void do_notif_event_xfree ( void *  arg)
static

Definition at line 231 of file remote-notif.c.

References notif_event_xfree().

Referenced by remote_notif_ack(), and remote_notif_parse().

gdb_static_assert ( ARRAY_SIZE(notifs = =REMOTE_NOTIF_LAST)
void handle_notification ( struct remote_notif_state state,
char *  buf 
)
void notif_event_xfree ( struct notif_event event)

Definition at line 220 of file remote-notif.c.

References notif_event::dtr, and xfree().

Referenced by do_notif_event_xfree(), QUEUE(), and remote_notif_state_xfree().

static void remote_async_get_pending_events_handler ( gdb_client_data  data)
static

Definition at line 117 of file remote-notif.c.

References gdb_assert, non_stop, and remote_notif_process().

Referenced by remote_notif_state_allocate().

void remote_notif_ack ( struct notif_client nc,
char *  buf 
)
struct notif_event* remote_notif_parse ( struct notif_client nc,
char *  buf 
)
void remote_notif_process ( struct remote_notif_state state,
struct notif_client except 
)
struct remote_notif_state* remote_notif_state_allocate ( void  )
void remote_notif_state_xfree ( struct remote_notif_state state)

Variable Documentation

initialize_file_ftype _initialize_notif
int notif_debug = 0
struct notif_client* notifs[]
static
Initial value:
=
{
}
struct notif_client notif_client_stop
Definition: remote.c:5552

Definition at line 48 of file remote-notif.c.