replace convert_ascii_to_int with hex2bin
authorTom Tromey <tromey@redhat.com>
Sun, 19 Jan 2014 02:42:15 +0000 (19:42 -0700)
committerTom Tromey <tromey@redhat.com>
Wed, 12 Feb 2014 16:59:20 +0000 (09:59 -0700)
commita7191e8bd7f4188d608764389d5a73fcf4b0e8da
tree63564515ee08df78bb81f9e72d2853099396f941
parentff0e980e6f720fe49608a5a0a37be3a28258c9d7
replace convert_ascii_to_int with hex2bin

convert_ascii_to_int is identical to hex2bin.
This removes the former.

2014-02-12  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-02-12  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.
gdb/ChangeLog
gdb/common/rsp-low.c
gdb/common/rsp-low.h
gdb/gdbserver/ChangeLog
gdb/gdbserver/ax.c
gdb/gdbserver/regcache.c
gdb/gdbserver/remote-utils.c
gdb/gdbserver/server.c