arch-arm: fix GDB stub after SVE
authorCiro Santilli <ciro.santilli@arm.com>
Wed, 28 Aug 2019 15:03:33 +0000 (16:03 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Fri, 6 Sep 2019 15:00:35 +0000 (15:00 +0000)
commit36a575071cd460255ca67ec5bdd6862d9c164919
treea6140eca99856141b82b3058ea17a372299f8634
parentead1e7a2a36a1d5fd1c612554590c99a05a98ce4
arch-arm: fix GDB stub after SVE

The SVE patches made registers longer by increasing NumVecElemPerVecReg,
but the GDB XML was not updated to account for that, and as a result GDB
connections were failing with:

Remote 'g' packet reply is too long

This commit introduces NumVecElemPerSimdVecReg which counts only the SIMD
register sizes to get it back working. SVE GDB support is not added here.

Change-Id: I4191b9f1999ae02b0308863db4cc9b5b16a27d6d
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/20468
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/registers.hh
src/arch/arm/remote_gdb.cc
src/arch/arm/remote_gdb.hh