diff options
Diffstat (limited to 'gdb/common')
-rw-r--r-- | gdb/common/rsp-low.c | 14 | ||||
-rw-r--r-- | gdb/common/rsp-low.h | 2 |
2 files changed, 0 insertions, 16 deletions
diff --git a/gdb/common/rsp-low.c b/gdb/common/rsp-low.c index fd6f563..a7b0014 100644 --- a/gdb/common/rsp-low.c +++ b/gdb/common/rsp-low.c @@ -172,20 +172,6 @@ bin2hex (const gdb_byte *bin, char *hex, int count) return i; } -int -hexify (char *hex, const char *bin, int count) -{ - int i; - - for (i = 0; i < count; i++) - { - *hex++ = tohex ((*bin >> 4) & 0xf); - *hex++ = tohex (*bin++ & 0xf); - } - *hex = 0; - return i; -} - void convert_int_to_ascii (const unsigned char *from, char *to, int n) { diff --git a/gdb/common/rsp-low.h b/gdb/common/rsp-low.h index 161c4a2..2ef5e6d 100644 --- a/gdb/common/rsp-low.h +++ b/gdb/common/rsp-low.h @@ -42,8 +42,6 @@ extern void convert_ascii_to_int (const char *from, unsigned char *to, int n); extern int bin2hex (const gdb_byte *bin, char *hex, int count); -extern int hexify (char *hex, const char *bin, int count); - extern void convert_int_to_ascii (const unsigned char *from, char *to, int n); /* Convert BUFFER, binary data at least LEN bytes long, into escaped |