aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/rsp-low.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/rsp-low.c')
-rw-r--r--gdb/common/rsp-low.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/common/rsp-low.c b/gdb/common/rsp-low.c
index decd23c..ecaa69a 100644
--- a/gdb/common/rsp-low.c
+++ b/gdb/common/rsp-low.c
@@ -127,18 +127,6 @@ hex2bin (const char *hex, gdb_byte *bin, int count)
return i;
}
-void
-convert_ascii_to_int (const char *from, unsigned char *to, int n)
-{
- int nib1, nib2;
- while (n--)
- {
- nib1 = fromhex (*from++);
- nib2 = fromhex (*from++);
- *to++ = (((nib1 & 0x0f) << 4) & 0xf0) | (nib2 & 0x0f);
- }
-}
-
int
bin2hex (const gdb_byte *bin, char *hex, int count)
{