|
GDB (xrefs)
|
Go to the source code of this file.
Functions | |
| int | fromhex (int a) |
| int | tohex (int nib) |
| static int | ishex (int ch, int *val) |
| char * | pack_nibble (char *buf, int nibble) |
| char * | pack_hex_byte (char *pkt, int byte) |
| const char * | unpack_varlen_hex (const char *buff, ULONGEST *result) |
| int | hex2bin (const char *hex, gdb_byte *bin, int count) |
| gdb::byte_vector | hex2bin (const char *hex) |
| std::string | hex2str (const char *hex) |
| int | bin2hex (const gdb_byte *bin, char *hex, int count) |
| std::string | bin2hex (const gdb_byte *bin, int count) |
| static int | needs_escaping (gdb_byte b) |
| int | remote_escape_output (const gdb_byte *buffer, int len_units, int unit_size, gdb_byte *out_buf, int *out_len_units, int out_maxlen_bytes) |
| int | remote_unescape_input (const gdb_byte *buffer, int len, gdb_byte *out_buf, int out_maxlen) |
Variables | |
| static const char | hexchars [] = "0123456789abcdef" |
| int bin2hex | ( | const gdb_byte * | bin, |
| char * | hex, | ||
| int | count | ||
| ) |
Definition at line 173 of file rsp-low.c.
References tohex().
Referenced by encode_source_string(), extended_remote_run(), extended_remote_set_inferior_cwd(), mi_cmd_data_read_memory_bytes(), mi_cmd_trace_frame_collected(), remote_buffer_add_bytes(), remote_download_trace_state_variable(), remote_rcmd(), remote_save_trace_data(), remote_set_trace_notes(), remote_write_bytes_aux(), send_environment_packet(), store_register_using_P(), store_registers_using_G(), tfile_write_status(), and tfile_write_uploaded_tsv().
| std::string bin2hex | ( | const gdb_byte * | bin, |
| int | count | ||
| ) |
| int fromhex | ( | int | a | ) |
Definition at line 26 of file rsp-low.c.
Referenced by fetch_register_using_p(), get_offsets(), hex2bin(), hex2str(), parse_xml_raw(), process_g_packet(), read_frame(), remote_console_output(), remote_parse_stop_reply(), remote_rcmd(), remote_verify_memory(), and unpack_nibble().
| int hex2bin | ( | const char * | hex, |
| gdb_byte * | bin, | ||
| int | count | ||
| ) |
Definition at line 115 of file rsp-low.c.
References fromhex().
Referenced by hex2bin(), parse_static_tracepoint_marker_definition(), parse_trace_status(), parse_tracepoint_definition(), parse_tsv_definition(), remote_check_symbols(), remote_get_raw_trace_data(), remote_parse_stop_reply(), remote_read_bytes_1(), remote_threads_extra_info(), start_thread(), and selftests::rsp_low::test_hex2bin_byte_vector().
| gdb::byte_vector hex2bin | ( | const char * | hex | ) |
| std::string hex2str | ( | const char * | hex | ) |
|
static |
Definition at line 54 of file rsp-low.c.
Referenced by unpack_varlen_hex().
|
static |
Definition at line 206 of file rsp-low.c.
Referenced by remote_escape_output().
| char* pack_hex_byte | ( | char * | pkt, |
| int | byte | ||
| ) |
Definition at line 86 of file rsp-low.c.
References hexchars.
Referenced by pack_int(), pack_threadid(), pack_threadlist_request(), remote_add_target_side_commands(), remote_add_target_side_condition(), and remote_download_tracepoint().
| char* pack_nibble | ( | char * | buf, |
| int | nibble | ||
| ) |
Definition at line 77 of file rsp-low.c.
References hexchars.
Referenced by pack_threadlist_request().
| int remote_escape_output | ( | const gdb_byte * | buffer, |
| int | len_units, | ||
| int | unit_size, | ||
| gdb_byte * | out_buf, | ||
| int * | out_len_units, | ||
| int | out_maxlen_bytes | ||
| ) |
Definition at line 214 of file rsp-low.c.
References needs_escaping().
Referenced by remote_hostio_pwrite(), remote_search_memory(), remote_write_bytes_aux(), and remote_write_qxfer().
Definition at line 269 of file rsp-low.c.
Referenced by remote_hostio_fstat(), remote_hostio_pread_vFile(), remote_hostio_readlink(), and remote_read_qxfer().
| int tohex | ( | int | nib | ) |
Definition at line 41 of file rsp-low.c.
Referenced by bin2hex(), putpkt_binary(), remote_pass_signals(), remote_program_signals(), and remote_resume_with_hc().
| const char* unpack_varlen_hex | ( | const char * | buff, |
| ULONGEST * | result | ||
| ) |
Definition at line 96 of file rsp-low.c.
References ishex().
Referenced by parse_static_tracepoint_marker_definition(), parse_trace_status(), parse_tracepoint_definition(), parse_tracepoint_status(), parse_tsv_definition(), read_ptid(), remote_get_min_fast_tracepoint_insn_len(), remote_get_noisy_reply(), remote_get_thread_local_address(), remote_get_tib_address(), remote_get_trace_state_variable_value(), remote_parse_stop_reply(), remote_search_memory(), and remote_write_qxfer().
|
static |
Definition at line 51 of file rsp-low.c.
Referenced by pack_hex_byte(), and pack_nibble().
1.8.14