Home
last modified time | relevance | path

Searched refs:fromhex (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/gnu/usr.bin/binutils/gdb/gdbserver/
H A Dremote-utils.c195 fromhex (int a) in fromhex() function
219 *bin++ = fromhex (hex[0]) * 16 + fromhex (hex[1]); in unhexify()
237 addr = addr | (fromhex (ch) & 0x0f); in decode_address()
500 c1 = fromhex (readchar ()); in getpkt()
501 c2 = fromhex (readchar ()); in getpkt()
569 nib1 = fromhex (*from++); in convert_ascii_to_int()
570 nib2 = fromhex (*from++); in convert_ascii_to_int()
689 *mem_addr_ptr |= fromhex (ch) & 0x0f; in decode_m_packet()
697 *len_ptr |= fromhex (ch) & 0x0f; in decode_m_packet()
712 *mem_addr_ptr |= fromhex (ch) & 0x0f; in decode_M_packet()
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A Dremote.c177 static int fromhex (int a);
1940 text_addr = (text_addr << 4) + fromhex (*ptr++); in get_offsets()
1949 data_addr = (data_addr << 4) + fromhex (*ptr++); in get_offsets()
1958 bss_addr = (bss_addr << 4) + fromhex (*ptr++); in get_offsets()
2327 fromhex (int a) in fromhex() function
2352 *bin++ = fromhex (hex[0]) * 16 + fromhex (hex[1]); in hex2bin()
2777 char c = fromhex (p[0]) * 16 + fromhex (p[1]); in remote_console_output()
2917 (((fromhex (buf[1])) << 4) + (fromhex (buf[2]))); in remote_wait()
2929 status->value.integer = (fromhex (buf[1]) << 4) + fromhex (buf[2]); in remote_wait()
2935 (((fromhex (buf[1])) << 4) + (fromhex (buf[2]))); in remote_wait()
[all …]
H A Dremote-sds.c89 static int fromhex (int);
263 fromhex (int a) in fromhex() function
1096 buf[len++] = fromhex (p[0]) * 16 + fromhex (p[1]); in sds_command()
H A Dmonitor.c255 fromhex (int a) in fromhex() function
914 val += fromhex (*p++); in monitor_supply_register()
1924 val = fromhex (c) * 16 + fromhex (*(p + 1)); in monitor_read_memory()
H A DChangeLog-1997277 * remote.c: export getpkt, putpkt, and fromhex for external use.
278 Make fromhex case-insensative. New function "remote_console_output"
H A DChangeLog-19941552 * remote.c (fromhex): Make error more explicit.
2973 * (fromhex): Remove unnecessary return -1 at end of routine.
H A DChangeLog-19985823 (fromhex): Now recognized upper cse hex digits
H A DChangeLog-20015686 (fromhex): Not exported, change from extern to static.
H A DChangeLog-200212876 * gdbserver/remote-utils.c (fromhex): Add return statement