Hi, It seems the test fails specifically for that version of gdb (15.0.50.20240403-git) when a gdb.Value object which is an integer of more than 8 bytes is cast to an int. This is the case when we test reading the za quadwords.
To address this we have edited the test such that the int cast is not used for the za quadwords when this specific version of gdb is detected. In this case, the test is performed without int casting (which still passes). To declare this to users, we have added a warning message to be printed in this scenario above the test results in the output file run-gdbstub-sysregs-sme.out. I have sent a new version of the patch series with these changes, as well as the added spdx/copyright lines. Please let us know what you think of this approach! Thanks, Vacha On Sat, Aug 23, 2025 at 2:13 PM Peter Maydell <peter.mayd...@linaro.org> wrote: > On Fri, 22 Aug 2025 at 18:32, Vacha Bhavsar > <vacha.bhav...@oss.qualcomm.com> wrote: > > > > Hi, > > > > We have tried to replicate this issue on our end and it > > seems to stem from the int casting of gdb.Value type of > > a 128bit integer. We have run the test with different > > host architectures, gdb versions and python versions > > both with and without the int casting. The results are > > as follows. > > > > gdb gdb target python host int cast status > > version support version architecture > > 16.3 --enable-targets=all 3.11.13 x86 yes pass > > 16.3 --enable-targets=all 3.11.13 x86 no pass > > 16.3 --enable-targets=all 3.10.18 x86 yes pass > > 16.3 --enable-targets=all 3.10.18 x86 no pass > > 16.3 --enable-targets=all 3.8.10 x86 yes pass > > 16.3 --enable-targets=all 3.8.10 x86 no pass > > > > 16.3 aarch64 3.11.0rc1 aarch64 yes pass > > 16.3 aarch64 3.11.0rc1 aarch64 no pass > > 16.3 aarch64 3.10.12 aarch64 yes pass > > 16.3 aarch64 3.10.12 aarch64 no pass > > > > 15.0 multiarch 3.10.12 aarch64 yes fail > > 15.0 multiarch 3.10.12 aarch64 no pass > > 15.0 multiarch 3.11.0rc1 aarch64 yes fail > > 15.0 multiarch 3.11.0rc1 aarch64 no pass > > > > 15.0 multiarch 3.8.10 x86 yes fail > > 15.0 multiarch 3.8.10 x86 no pass > > 15.0 multiarch 3.11.13 x86 yes fail > > 15.0 multiarch 3.11.13 x86 no pass > > 15.0 multiarch 3.10.18 x86 yes fail > > 15.0 multiarch 3.10.18 x86 no pass > > > > Could we get some more information about your testing environment? > > It's just stock Ubuntu 24.04.3 LTS on x86-64; gdb is gdb-multiarch > GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git > > -- PMM >