Searched refs:g_cpu (Results 1 – 5 of 5) sorted by relevance
/qemu/gdbstub/ |
H A D | gdbstub.c | 982 user_ctx = (void *)gdbserver_state.g_cpu; in process_string_cmd() 1037 if (pid == gdb_get_cpu_pid(gdbserver_state.g_cpu)) { in handle_detach() 1038 gdbserver_state.g_cpu = gdb_first_attached_cpu(); in handle_detach() 1145 gdbserver_state.g_cpu = cpu; in handle_set_thread() 1224 gdb_write_register(gdbserver_state.g_cpu, gdbserver_state.mem_buf->data, in handle_set_reg() 1238 reg_size = gdb_read_register(gdbserver_state.g_cpu, in handle_get_reg() 1269 if (gdb_target_memory_rw_debug(gdbserver_state.g_cpu, in handle_write_mem() 1296 if (gdb_target_memory_rw_debug(gdbserver_state.g_cpu, in handle_read_mem() 1320 cpu_synchronize_state(gdbserver_state.g_cpu); in handle_write_all_regs() 1325 reg_id < gdbserver_state.g_cpu->gdb_num_g_regs && len > 0; in handle_write_all_regs() [all …]
|
H A D | user-target.c | 275 if (target_memory_rw_debug(gdbserver_state.g_cpu, saved_auxv + offset, in gdb_handle_query_xfer_auxv() 312 int fd = do_guest_openat(cpu_env(gdbserver_state.g_cpu), 0, filename, in gdb_handle_v_file_open()
|
H A D | internals.h | 52 CPUState *g_cpu; /* current CPU for other ops */ member
|
H A D | system.c | 99 s->g_cpu = s->c_cpu; in gdb_chr_event()
|
H A D | user.c | 296 gdbserver_state.g_cpu = gdbserver_state.c_cpu; in gdb_accept_init()
|