Skip to content

Commit

Permalink
gdbstub: make GDBState static and have common init function
Browse files Browse the repository at this point in the history
Instead of allocating make this entirely static. We shall reduce the
size of the structure in later commits and dynamically allocate parts
of it. We introduce an init and reset helper function to keep all the
manipulation in one place.

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>

Message-Id: <20200316172155.971-7-alex.bennee@linaro.org>
  • Loading branch information
stsquad committed Mar 17, 2020
1 parent 2dbd39c commit 8d98c44
Showing 1 changed file with 81 additions and 87 deletions.
Loading

0 comments on commit 8d98c44

Please sign in to comment.