Hi, gcc-4.0.0 chokes on with an "invalid lvalue" error on the code generated by sh/gencode.c (gdb-CVS mainline). The patch below seems to fix this issue for me. AFAIS, the "(unsigned int) R[]" cast are just superfluous. Ralf