This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC 8/9] replace convert_ascii_to_int with hex2bin
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 05 Feb 2014 22:18:41 +0000
- Subject: Re: [RFC 8/9] replace convert_ascii_to_int with hex2bin
- Authentication-results: sourceware.org; auth=none
- References: <1390245501-1186-1-git-send-email-tromey at redhat dot com> <1390245501-1186-9-git-send-email-tromey at redhat dot com>
On 01/20/2014 07:18 PM, Tom Tromey wrote:
> convert_ascii_to_int is identical to hex2bin.
> This removes the former.
>
> 2014-01-20 Tom Tromey <tromey@redhat.com>
>
> * common/rsp-low.c (convert_ascii_to_int): Remove.
> * common/rsp-low.h (convert_ascii_to_int): Don't declare.
>
> 2014-01-20 Tom Tromey <tromey@redhat.com>
>
> * 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.
OK, thanks.
--
Pedro Alves