GDB (xrefs)
|
#include "queue.h"
Go to the source code of this file.
Classes | |
struct | notif_event |
struct | notif_client |
struct | remote_notif_state |
Typedefs | |
typedef struct notif_client * | notif_client_p |
Enumerations | |
enum | REMOTE_NOTIF_ID { REMOTE_NOTIF_STOP = 0, REMOTE_NOTIF_LAST } |
Functions | |
DECLARE_QUEUE_P (notif_client_p) | |
void | remote_notif_ack (struct notif_client *nc, char *buf) |
struct notif_event * | remote_notif_parse (struct notif_client *nc, char *buf) |
void | notif_event_xfree (struct notif_event *event) |
void | handle_notification (struct remote_notif_state *notif_state, 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) |
Variables | |
struct notif_client | notif_client_stop |
int | notif_debug |
typedef struct notif_client * notif_client_p |
enum REMOTE_NOTIF_ID |
Definition at line 36 of file remote-notif.h.
void handle_notification | ( | struct remote_notif_state * | notif_state, |
char * | buf | ||
) |
Definition at line 128 of file remote-notif.c.
References fprintf_unfiltered(), gdb_stdlog, remote_notif_state::get_pending_events_token, notif_client::id, mark_async_event_handler(), notif_client::name, non_stop, notif_debug, remote_notif_state::pending_event, QUEUE_enque, and remote_notif_parse().
Referenced by getpkt_or_notif_sane_1(), and putpkt_binary().
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().
void remote_notif_ack | ( | struct notif_client * | nc, |
char * | buf | ||
) |
Definition at line 62 of file remote-notif.c.
References notif_client::ack, notif_client::ack_command, notif_client::alloc_event, discard_cleanups(), do_notif_event_xfree(), fprintf_unfiltered(), gdb_stdlog, make_cleanup(), notif_debug, and notif_client::parse.
Referenced by remote_notif_get_pending_events().
struct notif_event* remote_notif_parse | ( | struct notif_client * | nc, |
char * | buf | ||
) | [read] |
Definition at line 81 of file remote-notif.c.
References notif_client::alloc_event, discard_cleanups(), do_notif_event_xfree(), fprintf_unfiltered(), gdb_stdlog, make_cleanup(), notif_client::name, notif_debug, and notif_client::parse.
Referenced by extended_remote_attach_1(), handle_notification(), remote_start_remote(), and remote_wait_as().
void remote_notif_process | ( | struct remote_notif_state * | state, |
struct notif_client * | except | ||
) |
Definition at line 102 of file remote-notif.c.
References notif_client::can_get_pending_events, gdb_assert, QUEUE_deque, QUEUE_is_empty, and remote_notif_get_pending_events().
Referenced by remote_async_get_pending_events_handler(), and remote_resume().
struct remote_notif_state* remote_notif_state_allocate | ( | void | ) | [read] |
Definition at line 237 of file remote-notif.c.
References create_async_event_handler(), remote_notif_state::get_pending_events_token, QUEUE_alloc, remote_async_get_pending_events_handler(), and xzalloc().
Referenced by remote_open_1().
void remote_notif_state_xfree | ( | struct remote_notif_state * | state | ) |
Definition at line 255 of file remote-notif.c.
References delete_async_event_handler(), remote_notif_state::get_pending_events_token, notif_event_xfree(), remote_notif_state::pending_event, QUEUE_free, REMOTE_NOTIF_LAST, and xfree().
Referenced by remote_close().
struct notif_client notif_client_stop |
Definition at line 5367 of file remote.c.
Referenced by extended_remote_attach_1(), remote_resume(), and remote_start_remote().
Definition at line 45 of file remote-notif.c.
Referenced by _initialize_notif(), handle_notification(), push_stop_reply(), remote_notif_ack(), remote_notif_get_pending_events(), remote_notif_parse(), and remote_notif_remove_queued_reply().