On Fri, 17 Oct 2025 at 16:30, Peter Maydell <[email protected]> wrote: > > Test the SME2 register exposure over gdbstub, in the same way > we already do for SME. > > Signed-off-by: Peter Maydell <[email protected]>
> +def run_test(): > + """Test reads and writes of the SME2 registers""" > + frame = gdb.selected_frame() > + rname = "zt0" > + zt0 = frame.read_register(rname) > + report(True, "Reading %s" % rname) > + > + # Writing to the ZT0 register, byte by byte. > + for i in range(0, 64): > + cmd = "set $zt0[%d] = 0x01" % (i) > + gdb.execute(cmd) > + report(True, "%s" % cmd) These two lines are wrongly indented, and Python will error out with "unexpected indent". I fixed this up in my local tree but clearly forgot to commit the change to git before sending. I'll fix this up in applying them to target-arm.next. -- PMM
