gdbstub: move chunk of softmmu functionality to own file
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 3 Mar 2023 02:57:46 +0000 (18:57 -0800)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 7 Mar 2023 17:06:41 +0000 (17:06 +0000)
commitb6fa2ec238e48d0bfba618011ec154867e386587
tree9c7911014d8330ca448732b2d843fcf0567ba871
parent36e067b2f28892afd91d319b89350d4753ef82af
gdbstub: move chunk of softmmu functionality to own file

This is mostly code motion but a number of things needed to be done
for this minimal patch set:

  - move shared structures to internals.h
  - splitting some functions into user and softmmu versions
  - fixing a few casting issues to keep softmmu common

More CONFIG_USER_ONLY stuff will be handled in a following patches.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20230302190846.2593720-11-alex.bennee@linaro.org>
Message-Id: <20230303025805.625589-11-richard.henderson@linaro.org>
gdbstub/gdbstub.c
gdbstub/internals.h
gdbstub/softmmu.c
gdbstub/trace-events