GDBserver
|
#include "server.h"
Go to the source code of this file.
Macros | |
#define | PREFIX "gdbserver: " |
#define | TOOLNAME "GDBserver" |
Functions | |
void | malloc_failure (long size) |
char * | xstrdup (const char *s) |
void | perror_with_name (const char *string) |
void | verror (const char *string, va_list args) |
void | vwarning (const char *string, va_list args) |
void | internal_verror (const char *file, int line, const char *fmt, va_list args) |
void | internal_vwarning (const char *file, int line, const char *fmt, va_list args) |
char * | paddress (CORE_ADDR addr) |
char * | pfildes (gdb_fildes_t fd) |
void | prepare_to_throw_exception (void) |
#define PREFIX "gdbserver: " |
Definition at line 25 of file utils.c.
Referenced by malloc_failure(), and vwarning().
#define TOOLNAME "GDBserver" |
Definition at line 26 of file utils.c.
Referenced by internal_verror(), and internal_vwarning().
void internal_verror | ( | const char * | file, |
int | line, | ||
const char * | fmt, | ||
va_list | args | ||
) |
void internal_vwarning | ( | const char * | file, |
int | line, | ||
const char * | fmt, | ||
va_list | args | ||
) |
void malloc_failure | ( | long | size | ) |
char* paddress | ( | CORE_ADDR | addr | ) |
Definition at line 124 of file utils.c.
References phex_nz().
Referenced by aarch64_handle_unaligned_watchpoint(), aarch64_show_debug_reg_state(), add_insns(), add_tracepoint_action(), build_traceframe_info_xml(), claim_jump_space(), claim_trampoline_space(), clear_installed_tracepoints(), cmd_qtdp(), cmd_qtdpsrc(), cmd_qtenable_disable(), cmd_qtframe(), cmd_qtp(), cmd_qtro(), collect_data_at_step(), collect_data_at_tracepoint(), compile_bytecodes(), condition_true_at_tracepoint(), delete_fast_tracepoint_jump(), delete_raw_breakpoint(), do_action_at_tracepoint(), fast_tracepoint_collecting(), gdb_no_commands_at_breakpoint_z_type(), handle_query(), handle_tracepoint_bkpts(), insert_memory_breakpoint(), linux_resume_one_lwp_throw(), linux_wait_1(), need_step_over_p(), probe_marker_at(), record_tracepoint_error(), reinsert_breakpoints_at(), reinsert_fast_tracepoint_jumps_at(), reinsert_raw_breakpoint(), relocate_instruction(), remove_memory_breakpoint(), response_action(), response_source(), response_tracepoint(), resume_stopped_resumed_lwps(), set_fast_tracepoint_jump(), set_raw_breakpoint_at(), traceframe_read_mem(), tracepoint_finished_step(), tracepoint_handler(), tracepoint_was_hit(), uninsert_breakpoints_at(), uninsert_fast_tracepoint_jumps_at(), uninsert_raw_breakpoint(), unprobe_marker_at(), and upload_fast_traceframes().
void perror_with_name | ( | const char * | string | ) |
Definition at line 57 of file utils.c.
References alloca(), errno, error(), and strerror().
Referenced by aarch64_point_encode_ctrl_reg(), arm_prepare_to_resume(), fetch_ppc_register(), handle_accept_event(), handle_extended_wait(), initialize_tracepoint(), kill_wait_lwp(), linux_check_ptrace_features(), linux_create_inferior(), linux_fork_to_function(), linux_ns_same(), linux_resume_one_lwp_throw(), lynx_add_threads_after_attach(), lynx_create_inferior(), lynx_resume(), lynx_waitpid(), mips_linux_prepare_to_resume(), mips_read_description(), ppc_collect_ptrace_register(), ppc_supply_ptrace_register(), remote_open(), remote_prepare(), spu_create_inferior(), spu_resume(), spu_wait(), wait_for_event(), x86_linux_dr_get(), and x86_linux_dr_set().
char* pfildes | ( | gdb_fildes_t | fd | ) |
Definition at line 132 of file utils.c.
References phex_nz(), and plongest().
Referenced by handle_file_event().
void prepare_to_throw_exception | ( | void | ) |
Definition at line 144 of file utils.c.
Referenced by throw_exception().
void verror | ( | const char * | string, |
va_list | args | ||
) |
Definition at line 77 of file utils.c.
References GENERIC_ERROR, and throw_verror().
Referenced by error().
void vwarning | ( | const char * | string, |
va_list | args | ||
) |
char* xstrdup | ( | const char * | s | ) |
Definition at line 44 of file utils.c.
References malloc_failure().
Referenced by captured_main(), handle_query(), loaded_dll(), look_up_one_symbol(), thread_db_handle_monitor_command(), thread_db_load_search(), and x86_linux_process_qsupported().