|
GDB (xrefs)
|
#include "remote-notif.h"Go to the source code of this file.
Functions | |
| void | getpkt (char **buf, long *sizeof_buf, int forever) |
| int | putpkt (const char *buf) |
| void | register_remote_g_packet_guess (struct gdbarch *gdbarch, int bytes, const struct target_desc *tdesc) |
| void | register_remote_support_xml (const char *) |
| void | remote_file_put (const char *local_file, const char *remote_file, int from_tty) |
| void | remote_file_get (const char *remote_file, const char *local_file, int from_tty) |
| void | remote_file_delete (const char *remote_file, int from_tty) |
| int | remote_register_number_and_offset (struct gdbarch *gdbarch, int regnum, int *pnum, int *poffset) |
| void | remote_notif_get_pending_events (struct notif_client *np) |
| void getpkt | ( | char ** | buf, |
| long * | sizeof_buf, | ||
| int | forever | ||
| ) |
Definition at line 9044 of file remote.c.
References remote_state::buf, and getpkt_sane().
Referenced by btrace_sync_conf(), check_binary_download(), extended_remote_attach(), extended_remote_create_inferior(), extended_remote_environment_support(), extended_remote_run(), extended_remote_set_inferior_cwd(), fetch_register_using_p(), get_offsets(), packet_command(), remote_check_symbols(), remote_current_thread(), remote_detach_pid(), remote_disable_btrace(), remote_enable_btrace(), remote_get_noisy_reply(), remote_get_thread_local_address(), remote_get_threadinfo(), remote_get_threadlist(), remote_get_threads_with_qthreadinfo(), remote_get_tib_address(), remote_insert_breakpoint(), remote_insert_hw_breakpoint(), remote_insert_watchpoint(), remote_interrupt_ns(), remote_mourn(), remote_notif_get_pending_events(), remote_pass_signals(), remote_program_signals(), remote_query_attached(), remote_query_supported(), remote_read_bytes_1(), remote_remove_breakpoint(), remote_remove_hw_breakpoint(), remote_remove_watchpoint(), remote_resume_with_vcont(), remote_send(), remote_send_printf(), remote_set_permissions(), remote_set_syscall_catchpoint(), remote_start_remote(), remote_static_tracepoint_marker_at(), remote_stop_ns(), remote_thread_alive(), remote_thread_events(), remote_threads_extra_info(), remote_trace_set_readonly_regions(), remote_upload_trace_state_variables(), remote_upload_tracepoints(), remote_use_agent(), remote_vcont_probe(), remote_verify_memory(), remote_vkill(), remote_write_bytes_aux(), remote_xfer_partial(), send_environment_packet(), send_g_packet(), set_thread(), store_register_using_P(), store_registers_using_G(), vcont_builder_flush(), and VEC().
| int putpkt | ( | const char * | buf | ) |
Definition at line 8650 of file remote.c.
References remote_state::buf, and putpkt_binary().
Referenced by btrace_sync_conf(), extended_remote_attach(), extended_remote_create_inferior(), extended_remote_disable_randomization(), extended_remote_environment_support(), extended_remote_restart(), extended_remote_run(), extended_remote_set_inferior_cwd(), fetch_register_using_p(), get_offsets(), packet_command(), remote_check_symbols(), remote_current_thread(), remote_detach_pid(), remote_disable_btrace(), remote_disable_tracepoint(), remote_download_command_source(), remote_download_trace_state_variable(), remote_download_tracepoint(), remote_enable_btrace(), remote_enable_tracepoint(), remote_fileio_reply(), remote_get_min_fast_tracepoint_insn_len(), remote_get_noisy_reply(), remote_get_raw_trace_data(), remote_get_thread_local_address(), remote_get_threadinfo(), remote_get_threadlist(), remote_get_threads_with_qthreadinfo(), remote_get_tib_address(), remote_get_trace_state_variable_value(), remote_get_trace_status(), remote_get_tracepoint_status(), remote_insert_breakpoint(), remote_insert_hw_breakpoint(), remote_insert_watchpoint(), remote_interrupt_ns(), remote_kill_k(), remote_mourn(), remote_notif_stop_ack(), remote_pass_signals(), remote_program_signals(), remote_query_attached(), remote_query_supported(), remote_rcmd(), remote_read_bytes_1(), remote_read_qxfer(), remote_remove_breakpoint(), remote_remove_hw_breakpoint(), remote_remove_watchpoint(), remote_resume_with_hc(), remote_resume_with_vcont(), remote_save_trace_data(), remote_send(), remote_send_printf(), remote_set_circular_trace_buffer(), remote_set_disconnected_tracing(), remote_set_permissions(), remote_set_syscall_catchpoint(), remote_set_trace_buffer_size(), remote_set_trace_notes(), remote_start_remote(), remote_static_tracepoint_marker_at(), remote_stop_ns(), remote_thread_alive(), remote_thread_events(), remote_threads_extra_info(), remote_trace_find(), remote_trace_init(), remote_trace_set_readonly_regions(), remote_trace_start(), remote_trace_stop(), remote_upload_trace_state_variables(), remote_upload_tracepoints(), remote_use_agent(), remote_vcont_probe(), remote_verify_memory(), remote_vkill(), remote_wait_as(), remote_xfer_partial(), send_environment_packet(), set_thread(), store_register_using_P(), store_registers_using_G(), vcont_builder_flush(), and VEC().
| void register_remote_g_packet_guess | ( | struct gdbarch * | gdbarch, |
| int | bytes, | ||
| const struct target_desc * | tdesc | ||
| ) |
Definition at line 11162 of file remote.c.
References _, remote_g_packet_guess::bytes, gdb_assert, internal_error(), remote_g_packet_data_handle, remote_g_packet_guess::tdesc, VEC_iterate, and VEC_safe_push.
Referenced by arm_register_g_packet_guesses(), microblaze_register_g_packet_guesses(), and mips_register_g_packet_guesses().
| void register_remote_support_xml | ( | const char * | ) |
Definition at line 4662 of file remote.c.
References remote_support_xml, and xfree().
Referenced by _initialize_i386_tdep().
| void remote_file_delete | ( | const char * | remote_file, |
| int | from_tty | ||
| ) |
Definition at line 12089 of file remote.c.
References _, error(), find_target_at(), get_remote_state(), printf_filtered(), process_stratum, remote_state::remote_desc, remote_hostio_error(), and remote_hostio_unlink().
Referenced by mi_cmd_target_file_delete(), and remote_delete_command().
| void remote_file_get | ( | const char * | remote_file, |
| const char * | local_file, | ||
| int | from_tty | ||
| ) |
Definition at line 12032 of file remote.c.
References _, discard_cleanups(), do_cleanups(), error(), find_target_at(), gdb_fopen_cloexec(), get_remote_packet_size(), get_remote_state(), make_cleanup(), offset, perror_with_name(), printf_filtered(), process_stratum, remote_state::remote_desc, remote_hostio_close(), remote_hostio_close_cleanup(), remote_hostio_error(), remote_hostio_open(), remote_hostio_pread(), xfree(), and xmalloc().
Referenced by mi_cmd_target_file_get(), and remote_get_command().
| void remote_file_put | ( | const char * | local_file, |
| const char * | remote_file, | ||
| int | from_tty | ||
| ) |
Definition at line 11941 of file remote.c.
References _, discard_cleanups(), do_cleanups(), error(), find_target_at(), gdb_fopen_cloexec(), get_remote_packet_size(), get_remote_state(), make_cleanup(), offset, perror_with_name(), printf_filtered(), process_stratum, remote_state::remote_desc, remote_hostio_close(), remote_hostio_close_cleanup(), remote_hostio_error(), remote_hostio_open(), remote_hostio_pwrite(), xfree(), and xmalloc().
Referenced by mi_cmd_target_file_put(), and remote_put_command().
| void remote_notif_get_pending_events | ( | struct notif_client * | np | ) |
Definition at line 7148 of file remote.c.
References notif_client::ack, remote_state::buf, remote_state::buf_size, fprintf_unfiltered(), gdb_stdlog, get_remote_state(), getpkt(), notif_client::id, notif_client::name, notif_debug, remote_state::notif_state, remote_notif_state::pending_event, and remote_notif_ack().
Referenced by check_pending_events_prevent_wildcard_vcont(), kill_new_fork_children(), remote_notif_process(), remote_start_remote(), remote_wait_ns(), and remove_new_fork_children().
| int remote_register_number_and_offset | ( | struct gdbarch * | gdbarch, |
| int | regnum, | ||
| int * | pnum, | ||
| int * | poffset | ||
| ) |
Definition at line 794 of file remote.c.
References gdbarch::data, gdb_assert, gdbarch_num_regs(), map_regcache_remote_table(), packet_reg::pnum, and regnum.
Referenced by regcache::dump(), and tfile_fetch_registers().
1.8.14