GDB (xrefs)
Functions | Variables
/home/stan/gdb/src/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 "gdbcmd.h"
#include <string.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 275 of file remote-notif.c.

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

static void do_notif_event_xfree ( void *  arg) [static]

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

References notif_event_xfree().

Referenced by remote_notif_ack(), and remote_notif_parse().

void handle_notification ( struct remote_notif_state state,
char *  buf 
)
void notif_event_xfree ( struct notif_event event)

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

References notif_event::dtr, and xfree().

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

Definition at line 118 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 
) [read]
void remote_notif_process ( struct remote_notif_state state,
struct notif_client except 
)
void remote_notif_state_xfree ( struct remote_notif_state state)

Variable Documentation

Referenced by initialize_all_files().

struct notif_client* notifs[] [static]
Initial value:

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines