> Undefined info command: "regs". Try "help info". > (gdb) info regi > zero at v0 v1 a0 a1 a2 a3 > R90 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > t0 t1 t2 t3 t4 t5 t6 t7 > R98 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > s0 s1 s2 s3 s4 s5 s6 s7 > R106 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > t8 t9 k0 k1 gp sp s8 ra > R114 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > sr lo hi bad cause pc > 00400004 00000000 00000000 00000000 00000000 a0020004 > fsr fir > 00000000 00000000 > (gdb) > > It's displaying stuff (and further runs appear correct), but the register > number in the left column needs 90 subtracted. (Well, I'm sure there's > a real fix, but...) Ah, oops. The real fix IS `regnum - 90' (well regnum % NUM_REGS). See attached. Andrew