Lines Matching refs:sim_

69   explicit MipsDebugger(Simulator* sim) : sim_(sim) { }  in MipsDebugger()
82 Simulator* sim_; member in v8::internal::MipsDebugger
111 return sim_->get_pc(); in GetRegisterValue()
113 return sim_->get_register(regnum); in GetRegisterValue()
120 return sim_->get_pc(); in GetFPURegisterValue()
122 return sim_->get_fpu_register(regnum); in GetFPURegisterValue()
129 return sim_->get_pc(); in GetFPURegisterValueFloat()
131 return sim_->get_fpu_register_float(regnum); in GetFPURegisterValueFloat()
138 return sim_->get_pc(); in GetFPURegisterValueDouble()
140 return sim_->get_fpu_register_double(regnum); in GetFPURegisterValueDouble()
167 if (sim_->break_pc_ != nullptr) { in SetBreakpoint()
172 sim_->break_pc_ = breakpc; in SetBreakpoint()
173 sim_->break_instr_ = breakpc->InstructionBits(); in SetBreakpoint()
181 if (sim_->break_pc_ != nullptr) { in DeleteBreakpoint()
182 sim_->break_pc_->SetInstructionBits(sim_->break_instr_); in DeleteBreakpoint()
185 sim_->break_pc_ = nullptr; in DeleteBreakpoint()
186 sim_->break_instr_ = 0; in DeleteBreakpoint()
192 if (sim_->break_pc_ != nullptr) { in UndoBreakpoints()
193 sim_->break_pc_->SetInstructionBits(sim_->break_instr_); in UndoBreakpoints()
199 if (sim_->break_pc_ != nullptr) { in RedoBreakpoints()
200 sim_->break_pc_->SetInstructionBits(kBreakpointInstr); in RedoBreakpoints()
325 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) { in Debug()
326 if (last_pc != sim_->get_pc()) { in Debug()
332 reinterpret_cast<byte*>(sim_->get_pc())); in Debug()
333 PrintF(" 0x%016" PRIx64 " %s\n", sim_->get_pc(), buffer.start()); in Debug()
334 last_pc = sim_->get_pc(); in Debug()
340 char* last_input = sim_->last_debugger_input(); in Debug()
345 sim_->set_last_debugger_input(line); in Debug()
355 Instruction* instr = reinterpret_cast<Instruction*>(sim_->get_pc()); in Debug()
358 sim_->InstructionDecode( in Debug()
359 reinterpret_cast<Instruction*>(sim_->get_pc())); in Debug()
363 sim_->set_pc(sim_->get_pc() + kInstrSize); in Debug()
367 sim_->InstructionDecode(reinterpret_cast<Instruction*>(sim_->get_pc())); in Debug()
443 cur = reinterpret_cast<int64_t*>(sim_->get_register(Simulator::sp)); in Debug()
469 Heap* current_heap = sim_->isolate_->heap(); in Debug()
496 cur = reinterpret_cast<byte*>(sim_->get_pc()); in Debug()
512 cur = reinterpret_cast<byte*>(sim_->get_pc()); in Debug()
557 intptr_t stop_pc = sim_->get_pc() - 2 * kInstrSize; in Debug()
563 if (sim_->IsStopInstruction(stop_instr)) { in Debug()
577 sim_->PrintStopInfo(i); in Debug()
580 sim_->PrintStopInfo(value); in Debug()
590 sim_->EnableStop(i); in Debug()
593 sim_->EnableStop(value); in Debug()
603 sim_->DisableStop(i); in Debug()
606 sim_->DisableStop(value); in Debug()
628 cur = reinterpret_cast<byte*>(sim_->get_pc()); in Debug()