Hack to the point where gdb reads a register.