gdbstub: stop passing GDBState * around and use global

We only have one GDBState which should be allocated at the time we
process any commands. This will make further clean-up a bit easier.

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>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Message-Id: <20200316172155.971-8-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2020-03-16 17:21:34 +00:00
parent 8d98c445dc
commit a346af3e35
1 changed files with 278 additions and 283 deletions

561
gdbstub.c

File diff suppressed because it is too large Load Diff