mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
replace unhexify with hex2bin
unhexify and hex2bin are identical, so this removes unhexify. The particular choice of which to keep was made on the basis of parallelism with the earlier patch that removed hexify. 2014-02-12 Tom Tromey <tromey@redhat.com> * common/rsp-low.h (unhexify): Don't declare. * common/rsp-low.c (unhexify): Remove. 2014-02-12 Tom Tromey <tromey@redhat.com> * server.c (handle_query, handle_v_run): Use hex2bin, not unhexify. * tracepoint.c (cmd_qtdpsrc, cmd_qtdv, cmd_qtnotes): Likewise.
This commit is contained in:
@ -36,8 +36,6 @@ extern char *unpack_varlen_hex (char *buff, ULONGEST *result);
|
||||
|
||||
extern int hex2bin (const char *hex, gdb_byte *bin, int count);
|
||||
|
||||
extern int unhexify (char *bin, const char *hex, int count);
|
||||
|
||||
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);
|
||||
|
Reference in New Issue
Block a user