diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2021-05-25 09:24:14 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2021-05-25 16:52:50 +0100 |
| commit | 26a16181fafa0f6a4646c9626afda8b7f663c91b (patch) | |
| tree | 882388f3de74692f82b41c751b58a9a29d3d6363 /include/net/queue.h | |
| parent | 305bea066d66cedef0291841f9c6ee3690df3631 (diff) | |
| download | focaccia-qemu-26a16181fafa0f6a4646c9626afda8b7f663c91b.tar.gz focaccia-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 'include/net/queue.h')
0 files changed, 0 insertions, 0 deletions