summaryrefslogtreecommitdiffstats
path: root/hw/display
diff options
context:
space:
mode:
authorAlex Bennée2021-05-25 10:24:14 +0200
committerAlex Bennée2021-05-25 17:52:50 +0200
commit26a16181fafa0f6a4646c9626afda8b7f663c91b (patch)
tree882388f3de74692f82b41c751b58a9a29d3d6363 /hw/display
parentgdbstub: Constify GdbCmdParseEntry (diff)
downloadqemu-26a16181fafa0f6a4646c9626afda8b7f663c91b.tar.gz
qemu-26a16181fafa0f6a4646c9626afda8b7f663c91b.tar.xz
qemu-26a16181fafa0f6a4646c9626afda8b7f663c91b.zip
gdbstub: Replace GdbCmdContext with plain g_array()
Instead of jumping through hoops let glib deal with both tracking the number of elements and auto freeing the memory once we are done. This allows is to drop the usage of ALLOCA(3) which the man-page mentions its "use is discouraged". Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20210520174303.12310-6-alex.bennee@linaro.org>
Diffstat (limited to 'hw/display')
0 files changed, 0 insertions, 0 deletions