Re: gdb support for SME-without-SVE ?

Peter Maydell via Gdb
2026-01-29T11:35:49Z

On Thu, 29 Jan 2026 at 09:10, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> On Thu, 29 Jan 2026 at 04:12, Thiago Jung Bauermann
> <thiago.bauermann@linaro.org> wrote:
> >
> > Peter Maydell <peter.maydell@linaro.org> writes:
> >
> > > On Wed, 28 Jan 2026 at 04:24, Thiago Jung Bauermann
> > > <thiago.bauermann@linaro.org> wrote:
> > >> I'm currently implementing SME-only (i.e. without SVE) support in GDB
> > >> for Linux userspace debugging. It's mostly done, I just need to test a
> > >> few things, polish the code and prepare the patches. I'm hoping to send
> > >> the patches next week.
> > >
> > > Let me know if a QEMU setup emulating "SME only" would be helpful
> > > for you with that.
> >
> > It would indeed! If there's a branch I can build, it would make my
> > testing quicker, and the regression testing more complete.
>
> I'll get one sorted out later today (the patches I have right now
> have a few issues I need to fix).

This branch:

https://gitlab.com/pm215/qemu/-/commits/sme-no-sve

should let you create an SME-only CPU with "-cpu max,sve=off".
I have not given it much more than a very cursory testing, so
let me know if you run into any problems with it.

thanks
-- PMM