From a7191e8bd7f4188d608764389d5a73fcf4b0e8da Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 18 Jan 2014 19:42:15 -0700 Subject: replace convert_ascii_to_int with hex2bin convert_ascii_to_int is identical to hex2bin. This removes the former. 2014-02-12 Tom Tromey * common/rsp-low.c (convert_ascii_to_int): Remove. * common/rsp-low.h (convert_ascii_to_int): Don't declare. 2014-02-12 Tom Tromey * ax.c (gdb_parse_agent_expr): Use hex2bin, not convert_ascii_to_int. * regcache.c (registers_to_string): Likewise. * remote-utils.c (decode_M_packet): Likewise. * server.c (process_serial_event): Likewise. --- gdb/gdbserver/remote-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/gdbserver/remote-utils.c') diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 3b3f183..4fcafa0 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -1270,7 +1270,7 @@ decode_M_packet (char *from, CORE_ADDR *mem_addr_ptr, unsigned int *len_ptr, if (*to_p == NULL) *to_p = xmalloc (*len_ptr); - convert_ascii_to_int (&from[i++], *to_p, *len_ptr); + hex2bin (&from[i++], *to_p, *len_ptr); } int -- cgit v1.1