Hi, The attached patch does not change the behaviour of the debugger in any way, but merely improves the layout of (both the code and) output from the SH specific 'regs' command. This is in response to a complaint (from a customer) that it was very hard to read. E.g. Before PC=00000000 SR=00000000 PR=00000000 MACH=00000000 MACHL=00000000 GBR=00000000 VBR=00000000 SSR=00000000 SPC=00000000 FPUL=00000000 FPSCR=00000000 R0-R7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 R8-R15 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 FP0-FP7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 FP8-FP15 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 After PC 00000000 SR 00000000 PR 00000000 MACH 00000000 GBR 00000000 VBR 00000000 MACL 00000000 SSR 00000000 SPC 00000000 FPUL 00000000 FPSCR 00000000 R0-R7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 R8-R15 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 FP0-FP7 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 FP8-FP15 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 If you don't have a format=flowed mail reader that probably got wrapped - it requires 80 columns (and always has) - but you get the idea. BTW SH folks, while I was testing this I discovered that the sh2a support (in which I have no real interest) doesn't work - not with the simulator anyway - I get a segmentation fault when I try to read the registers. Andrew Stubbs