|
GDB (xrefs)
|
#include "defs.h"#include "remote.h"#include "remote-notif.h"#include "observable.h"#include "gdbsupport/event-loop.h"#include "target.h"#include "inferior.h"#include "infrun.h"#include "gdbcmd.h"#include "async-event.h"Go to the source code of this file.
Functions | |
| gdb_static_assert (ARRAY_SIZE(notifs)==REMOTE_NOTIF_LAST) | |
| void | remote_notif_ack (remote_target *remote, struct notif_client *nc, const char *buf) |
| struct notif_event * | remote_notif_parse (remote_target *remote, struct notif_client *nc, const char *buf) |
| 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, const char *buf) |
| struct remote_notif_state * | remote_notif_state_allocate (remote_target *remote) |
| void | _initialize_notif () |
Variables | |
| bool | notif_debug = false |
| static struct notif_client * | notifs [] |
| void _initialize_notif | ( | ) |
Definition at line 245 of file remote-notif.c.
Referenced by initialize_all_files().
| gdb_static_assert | ( | ARRAY_SIZE(notifs) | = =REMOTE_NOTIF_LAST | ) |
| void handle_notification | ( | struct remote_notif_state * | state, |
| const char * | buf | ||
| ) |
Definition at line 121 of file remote-notif.c.
References gdb_printf(), gdb_stdlog, remote_notif_state::get_pending_events_token, notif_client::id, mark_async_event_handler(), name, notif_client::name, notif_debug, remote_notif_state::notif_queue, notifs, remote_notif_state::pending_event, remote_notif_state::remote, remote_notif_parse(), and target_is_non_stop_p().
Referenced by remote_target::getpkt_or_notif_sane_1(), and remote_target::putpkt_binary().
|
static |
Definition at line 109 of file remote-notif.c.
References clear_async_event_handler(), remote_notif_state::get_pending_events_token, remote_notif_state::remote, remote_notif_process(), and remote_target_is_non_stop_p().
Referenced by remote_notif_state_allocate().
| void remote_notif_ack | ( | remote_target * | remote, |
| struct notif_client * | nc, | ||
| const char * | buf | ||
| ) |
Definition at line 60 of file remote-notif.c.
References notif_client::ack, notif_client::ack_command, notif_client::alloc_event, gdb_printf(), gdb_stdlog, notif_debug, and notif_client::parse.
Referenced by remote_target::remote_notif_get_pending_events().
| struct notif_event * remote_notif_parse | ( | remote_target * | remote, |
| struct notif_client * | nc, | ||
| const char * | buf | ||
| ) |
Definition at line 76 of file remote-notif.c.
References notif_client::alloc_event, gdb_printf(), gdb_stdlog, notif_client::name, notif_debug, and notif_client::parse.
Referenced by extended_remote_target::attach(), handle_notification(), remote_target::start_remote_1(), and remote_target::wait_as().
| void remote_notif_process | ( | struct remote_notif_state * | state, |
| struct notif_client * | except | ||
| ) |
Definition at line 93 of file remote-notif.c.
References notif_client::can_get_pending_events, remote_notif_state::notif_queue, remote_notif_state::remote, and remote_notif_get_pending_events().
Referenced by remote_async_get_pending_events_handler(), and remote_target::resume().
| struct remote_notif_state * remote_notif_state_allocate | ( | remote_target * | remote | ) |
Definition at line 214 of file remote-notif.c.
References create_async_event_handler(), remote_notif_state::get_pending_events_token, remote_notif_state::remote, and remote_async_get_pending_events_handler().
Referenced by remote_target::open_1().
| bool notif_debug = false |
Definition at line 45 of file remote-notif.c.
Referenced by handle_notification(), remote_target::push_stop_reply(), remote_notif_ack(), remote_target::remote_notif_get_pending_events(), remote_notif_parse(), and remote_target::remote_notif_remove_queued_reply().
|
static |
Definition at line 49 of file remote-notif.c.
Referenced by handle_notification().