Lines Matching full:g_cpu
276 CPUState *g_cpu; /* current CPU for other ops */
1676 cpu_synchronize_state(s->g_cpu, 0);
1679 reg_size = gdb_read_register(s->g_cpu, mem_buf + len, addr);
1690 reg_size = gdb_write_register(s->g_cpu, registers, addr);
1694 cpu_synchronize_state(s->g_cpu, 1);
1702 if (cpu_memory_rw_debug(s->g_cpu, addr, mem_buf, len, 0) != 0) {
1717 if (cpu_memory_rw_debug(s->g_cpu, addr, mem_buf, len, 1) != 0)
1729 reg_size = gdb_read_register(s->g_cpu, mem_buf, addr);
1745 gdb_write_register(s->g_cpu, mem_buf, addr);
1786 s->g_cpu = env;
1952 gdbserver_state->g_cpu = env;
2258 s->g_cpu = first_cpu;
2436 s->g_cpu = first_cpu;