Lines Matching refs:sim_

53   explicit MipsDebugger(Simulator* sim) : sim_(sim) { }  in MipsDebugger()
66 Simulator* sim_; member in v8::internal::MipsDebugger
94 sim_->set_pc(sim_->get_pc() + 2 * Instruction::kInstrSize); in Stop()
101 return sim_->get_pc(); in GetRegisterValue()
103 return sim_->get_register(regnum); in GetRegisterValue()
110 return sim_->get_pc(); in GetFPURegisterValue32()
112 return sim_->get_fpu_register_word(regnum); in GetFPURegisterValue32()
119 return sim_->get_pc(); in GetFPURegisterValue64()
121 return sim_->get_fpu_register(regnum); in GetFPURegisterValue64()
128 return sim_->get_pc(); in GetFPURegisterValueFloat()
130 return sim_->get_fpu_register_float(regnum); in GetFPURegisterValueFloat()
137 return sim_->get_pc(); in GetFPURegisterValueDouble()
139 return sim_->get_fpu_register_double(regnum); in GetFPURegisterValueDouble()
185 if (sim_->break_pc_ != NULL) { in SetBreakpoint()
190 sim_->break_pc_ = breakpc; in SetBreakpoint()
191 sim_->break_instr_ = breakpc->InstructionBits(); in SetBreakpoint()
199 if (sim_->break_pc_ != NULL) { in DeleteBreakpoint()
200 sim_->break_pc_->SetInstructionBits(sim_->break_instr_); in DeleteBreakpoint()
203 sim_->break_pc_ = NULL; in DeleteBreakpoint()
204 sim_->break_instr_ = 0; in DeleteBreakpoint()
210 if (sim_->break_pc_ != NULL) { in UndoBreakpoints()
211 sim_->break_pc_->SetInstructionBits(sim_->break_instr_); in UndoBreakpoints()
217 if (sim_->break_pc_ != NULL) { in RedoBreakpoints()
218 sim_->break_pc_->SetInstructionBits(kBreakpointInstr); in RedoBreakpoints()
360 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) { in Debug()
361 if (last_pc != sim_->get_pc()) { in Debug()
367 reinterpret_cast<byte*>(sim_->get_pc())); in Debug()
368 PrintF(" 0x%08x %s\n", sim_->get_pc(), buffer.start()); in Debug()
369 last_pc = sim_->get_pc(); in Debug()
375 char* last_input = sim_->last_debugger_input(); in Debug()
380 sim_->set_last_debugger_input(line); in Debug()
390 Instruction* instr = reinterpret_cast<Instruction*>(sim_->get_pc()); in Debug()
393 sim_->InstructionDecode( in Debug()
394 reinterpret_cast<Instruction*>(sim_->get_pc())); in Debug()
398 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize); in Debug()
402 sim_->InstructionDecode(reinterpret_cast<Instruction*>(sim_->get_pc())); in Debug()
498 cur = reinterpret_cast<int32_t*>(sim_->get_register(Simulator::sp)); in Debug()
537 Heap* current_heap = sim_->isolate_->heap(); in Debug()
564 cur = reinterpret_cast<byte*>(sim_->get_pc()); in Debug()
580 cur = reinterpret_cast<byte*>(sim_->get_pc()); in Debug()
625 intptr_t stop_pc = sim_->get_pc() - in Debug()
633 if (sim_->IsStopInstruction(stop_instr)) { in Debug()
647 sim_->PrintStopInfo(i); in Debug()
650 sim_->PrintStopInfo(value); in Debug()
660 sim_->EnableStop(i); in Debug()
663 sim_->EnableStop(value); in Debug()
673 sim_->DisableStop(i); in Debug()
676 sim_->DisableStop(value); in Debug()
698 cur = reinterpret_cast<byte*>(sim_->get_pc()); in Debug()