I thought about this. The registers I have put in tdep have particular meanings to GDB. As far as GDB is concerned GP is just another register. In fact it only has one reference, in arc_register_type () to specify it is pointer to data.