Ard Biesheuvel <[email protected]> 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 <[email protected]> > Cc: Peter Maydell <[email protected]> > Cc: Alex Bennee <[email protected]> > Signed-off-by: Ard Biesheuvel <[email protected]> Reviewed-by: Alex Bennée <[email protected]> -- Alex Bennée
