Lines Matching refs:c_cpu
275 CPUState *c_cpu; /* current CPU for step/continue ops */ member
1466 return kvm_insert_breakpoint(gdbserver_state->c_cpu, addr, len, type); in gdb_breakpoint_insert()
1500 return kvm_remove_breakpoint(gdbserver_state->c_cpu, addr, len, type); in gdb_breakpoint_remove()
1532 kvm_remove_all_breakpoints(gdbserver_state->c_cpu); in gdb_breakpoint_remove_all()
1547 s->c_cpu->eip = pc; in gdb_set_cpu_pc()
1548 cpu_synchronize_state(s->c_cpu, 1); in gdb_set_cpu_pc()
1550 s->c_cpu->nip = pc; in gdb_set_cpu_pc()
1552 s->c_cpu->pc = pc; in gdb_set_cpu_pc()
1553 s->c_cpu->npc = pc + 4; in gdb_set_cpu_pc()
1555 s->c_cpu->regs[15] = pc; in gdb_set_cpu_pc()
1557 s->c_cpu->pc = pc; in gdb_set_cpu_pc()
1559 s->c_cpu->active_tc.PC = pc; in gdb_set_cpu_pc()
1561 s->c_cpu->sregs[SR_PC] = pc; in gdb_set_cpu_pc()
1563 s->c_cpu->pc = pc; in gdb_set_cpu_pc()
1565 s->c_cpu->pc = pc; in gdb_set_cpu_pc()
1611 gdb_id(s->c_cpu)); in gdb_handle_packet()
1648 cpu_single_step(s->c_cpu, sstep_flags); in gdb_handle_packet()
1667 gdb_current_syscall_cb(s->c_cpu, ret, err); in gdb_handle_packet()
1782 s->c_cpu = env; in gdb_handle_packet()
1861 TaskState *ts = s->c_cpu->opaque; in gdb_handle_packet()
1951 gdbserver_state->c_cpu = env; in gdb_set_stop_cpu()
1959 CPUState *env = s->c_cpu; in gdb_vm_state_change()
2061 gdb_handlesig(s->c_cpu, 0); in gdb_do_syscall()
2063 cpu_exit(s->c_cpu); in gdb_do_syscall()
2257 s->c_cpu = first_cpu; in gdb_accept()
2435 s->c_cpu = first_cpu; in gdbserver_start()