This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC 8/9] replace convert_ascii_to_int with hex2bin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]