Lines Matching refs:gdbstub_to_hex_digit
238 static uint8_t gdbstub_to_hex_digit(uint8_t b)
280 dst[0] = gdbstub_to_hex_digit(i >> 4);
281 dst[1] = gdbstub_to_hex_digit(i);
282 dst[2] = gdbstub_to_hex_digit(i >> 12);
283 dst[3] = gdbstub_to_hex_digit(i >> 8);
286 dst[0] = gdbstub_to_hex_digit(i >> 4);
287 dst[1] = gdbstub_to_hex_digit(i);
288 dst[2] = gdbstub_to_hex_digit(i >> 12);
289 dst[3] = gdbstub_to_hex_digit(i >> 8);
290 dst[4] = gdbstub_to_hex_digit(i >> 20);
291 dst[5] = gdbstub_to_hex_digit(i >> 16);
292 dst[6] = gdbstub_to_hex_digit(i >> 28);
293 dst[7] = gdbstub_to_hex_digit(i >> 24);
296 *dst++ = gdbstub_to_hex_digit(*src >> 4);
297 *dst++ = gdbstub_to_hex_digit(*src);
317 stub->buf[stub->len + 2] = gdbstub_to_hex_digit(cksum >> 4);
318 stub->buf[stub->len + 3] = gdbstub_to_hex_digit(cksum);
335 stub->payload[1] = gdbstub_to_hex_digit((char)num >> 4);
336 stub->payload[2] = gdbstub_to_hex_digit((char)num);