Ard Biesheuvel <a...@kernel.org> writes:
> When running under KVM, we may decide to run the CPU in 32-bit mode, by > setting the 'aarch64=off' CPU option. In this case, we need to switch to > the 32-bit version of the GDB stub too, so that GDB has the correct view > of the CPU state. Without this, GDB debugging does not work at all, and > errors out upon connecting to the target with a mysterious 'g' packet > length error. > > Cc: Richard Henderson <richard.hender...@linaro.org> > Cc: Peter Maydell <peter.mayd...@linaro.org> > Cc: Alex Bennee <alex.ben...@linaro.org> > Signed-off-by: Ard Biesheuvel <a...@kernel.org> Reviewed-by: Alex Bennée <alex.ben...@linaro.org> -- Alex Bennée