]> git.ipfire.org Git - thirdparty/qemu.git/commit
gdbstub: move mem_buf to GDBState and use GByteArray
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 16 Mar 2020 17:21:36 +0000 (17:21 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 17 Mar 2020 17:38:38 +0000 (17:38 +0000)
commit4a25f1b97ac1fad8dca3bee5f1d22fc8cb582b37
tree59760655a1f727e6d799b3a419b6eeba6897d763
parent308f9e88b28e75b1702112159d6894007372b355
gdbstub: move mem_buf to GDBState and use GByteArray

This is in preparation for further re-factoring of the register API
with the rest of the code. Theoretically the read register function
could overwrite the MAX_PACKET_LENGTH buffer although currently all
registers are well within the size range.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Tested-by: Damien Hedde <damien.hedde@greensocs.com>
Message-Id: <20200316172155.971-10-alex.bennee@linaro.org>
gdbstub.c