Lines Matching refs:g_cpu

970             user_ctx = (void *)gdbserver_state.g_cpu;  in process_string_cmd()
1025 if (pid == gdb_get_cpu_pid(gdbserver_state.g_cpu)) { in handle_detach()
1026 gdbserver_state.g_cpu = gdb_first_attached_cpu(); in handle_detach()
1133 gdbserver_state.g_cpu = cpu; in handle_set_thread()
1212 gdb_write_register(gdbserver_state.g_cpu, gdbserver_state.mem_buf->data, in handle_set_reg()
1226 reg_size = gdb_read_register(gdbserver_state.g_cpu, in handle_get_reg()
1257 if (gdb_target_memory_rw_debug(gdbserver_state.g_cpu, in handle_write_mem()
1284 if (gdb_target_memory_rw_debug(gdbserver_state.g_cpu, in handle_read_mem()
1308 cpu_synchronize_state(gdbserver_state.g_cpu); in handle_write_all_regs()
1313 reg_id < gdbserver_state.g_cpu->gdb_num_g_regs && len > 0; in handle_write_all_regs()
1315 reg_size = gdb_write_register(gdbserver_state.g_cpu, registers, reg_id); in handle_write_all_regs()
1327 cpu_synchronize_state(gdbserver_state.g_cpu); in handle_read_all_regs()
1330 for (reg_id = 0; reg_id < gdbserver_state.g_cpu->gdb_num_g_regs; reg_id++) { in handle_read_all_regs()
1331 len += gdb_read_register(gdbserver_state.g_cpu, in handle_read_all_regs()
1422 gdbserver_state.g_cpu = cpu; in handle_v_attach()
1568 process = gdb_get_cpu_process(gdbserver_state.g_cpu); in handle_query_curr_tid()
1710 process = gdb_get_cpu_process(gdbserver_state.g_cpu); in handle_query_xfer_features()
1711 cc = CPU_GET_CLASS(gdbserver_state.g_cpu); in handle_query_xfer_features()
2299 gdbserver_state.g_cpu = cpu; in gdb_set_stop_cpu()