]> git.proxmox.com Git - mirror_qemu.git/commit
gdbstub: move fromhex/tohex routines to internals
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 3 Mar 2023 02:57:44 +0000 (18:57 -0800)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Mar 2023 17:06:36 +0000 (17:06 +0000)
commit1678ea040e5d4a4cd613a4af18d776fb2397f0a8
treeedf4a677065d5cb99cef4c4c1f1a51eba1f1681d
parent548c96095dae2af37c4145ff11f0d010c43e2be2
gdbstub: move fromhex/tohex routines to internals

These will be needed from multiple places in the code. They are
declared as inline so move to the header and fix up to modern coding
style.

The only other place that messes with hex stuff at the moment is the
URI handling in utils but that would be more code churn so leave for
now.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230302190846.2593720-9-alex.bennee@linaro.org>
Message-Id: <20230303025805.625589-9-richard.henderson@linaro.org>
gdbstub/gdbstub.c
gdbstub/internals.h