Re: gdb support for SME-without-SVE ?

Peter Maydell via Gdb <[email protected]> Thu, 29 Jan 2026 11:34:19 +0000
Newsgroups gmane.comp.gdb.devel
Message-ID <CAFEAcA8U48phwPk+PhBxJn7SPYffcQGjE8db_m09EfdejMWwTQ@mail.gmail.com>
On Thu, 29 Jan 2026 at 09:10, Peter Maydell <[email protected]> wrote:
>
> On Thu, 29 Jan 2026 at 04:12, Thiago Jung Bauermann
> <[email protected]> wrote:
> >
> > Peter Maydell <[email protected]> writes:
> >
> > > On Wed, 28 Jan 2026 at 04:24, Thiago Jung Bauermann
> > > <[email protected]> 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