[patch 2/6] Merge multiple hex conversions
Aleksandar Ristovski
aristovski@qnx.com
Fri Mar 22 13:05:00 GMT 2013
As per the subject...
(tohex): Make externally linkable.
* common/common-utils.h (fromhex, tohex): New declaration.
* gdbserver/gdbreplay.c (tohex): Rename to 'fromhex'.
(logchar): Use fromhex.
* gdbserver/remote-utils.c (fromhex, unhexify): Remove.
(tohex, hexify): Remove.
(look_up_one_symbol, monitor_output): Use bin2hex instead of hexify.
* gdbserver/server.c (handle_query): Use bin2hex instead of hexify.
(handle_v_run): Ditto.
* gdbserver/server.h (unhexify, hexify): Remove declarations.
* gdbserver/tracepoint.c (cmd_qtdpsrc, cmd_qtdv): Use hex2bin
instead of unhexify.
(cmd_qtstatus): Use bin2hex instead of hexify.
(cmd_qtnotes): Use hex2bin instead of unhexify.
* monitor.c (fromhex): Remove definition.
* remote.c (tohex, fromhex): Remove fwd declarations, remove
definitions.
---
Aleksandar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Merge-multiple-hex-conversions.patch
Type: text/x-patch
Size: 11953 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130322/05287b74/attachment.bin>
More information about the Gdb-patches
mailing list