Skip to content
Commit 6eaaaa9a authored by Daniel Leung's avatar Daniel Leung Committed by Anas Nashif
Browse files

debug: gdbstub: introduce gdb_bin2hex()



Adds a new function gdb_bin2hex() to convert binary into
hexadecimal string representation. This is similar to
bin2hex() but does not force a null character at the end
of the output buffer. This avoids an issue where the last
character of the hexadecimal string is replaced with
null character before sending to GDB.

Signed-off-by: default avatarDaniel Leung <daniel.leung@intel.com>
parent 917b3cf7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment