Home | History | Annotate | Download | only in mips64

Lines Matching defs:sim_

70   explicit MipsDebugger(Simulator* sim) : sim_(sim) { }
84 Simulator* sim_;
124 reinterpret_cast<char**>(sim_->get_pc() + Instr::kInstrSize);
143 sim_->set_pc(sim_->get_pc() + 3 * Instruction::kInstructionSize);
158 char* msg = *reinterpret_cast<char**>(sim_->get_pc() +
161 if (!sim_->watched_stops_[code].desc) {
162 sim_->watched_stops_[code].desc = msg;
166 sim_->set_pc(sim_->get_pc() + 3 * Instruction::kInstrSize);
174 return sim_->get_pc();
176 return sim_->get_register(regnum);
183 return sim_->get_pc();
185 return sim_->get_fpu_register(regnum);
192 return sim_->get_pc();
194 return sim_->get_fpu_register_float(regnum);
201 return sim_->get_pc();
203 return sim_->get_fpu_register_double(regnum);
230 if (sim_->break_pc_ != NULL) {
235 sim_->break_pc_ = breakpc;
236 sim_->break_instr_ = breakpc->InstructionBits();
244 if (sim_->break_pc_ != NULL) {
245 sim_->break_pc_->SetInstructionBits(sim_->break_instr_);
248 sim_->break_pc_ = NULL;
249 sim_->break_instr_ = 0;
255 if (sim_->break_pc_ != NULL) {
256 sim_->break_pc_->SetInstructionBits(sim_->break_instr_);
262 if (sim_->break_pc_ != NULL) {
263 sim_->break_pc_->SetInstructionBits(kBreakpointInstr);
379 while (!done && (sim_->get_pc() != Simulator::end_sim_pc)) {
380 if (last_pc != sim_->get_pc()) {
386 reinterpret_cast<byte*>(sim_->get_pc()));
387 PrintF(" 0x%016lx %s\n", sim_->get_pc(), buffer.start());
388 last_pc = sim_->get_pc();
394 char* last_input = sim_->last_debugger_input();
398 // Ownership is transferred to sim_;
399 sim_->set_last_debugger_input(line);
409 Instruction* instr = reinterpret_cast<Instruction*>(sim_->get_pc());
412 sim_->InstructionDecode(
413 reinterpret_cast<Instruction*>(sim_->get_pc()));
417 sim_->set_pc(sim_->get_pc() + Instruction::kInstrSize);
421 sim_->InstructionDecode(reinterpret_cast<Instruction*>(sim_->get_pc()));
496 cur = reinterpret_cast<int64_t*>(sim_->get_register(Simulator::sp));
522 Heap* current_heap = sim_->isolate_->heap();
548 cur = reinterpret_cast<byte*>(sim_->get_pc());
564 cur = reinterpret_cast<byte*>(sim_->get_pc());
609 intptr_t stop_pc = sim_->get_pc() -
617 if (sim_->IsStopInstruction(stop_instr)) {
631 sim_->PrintStopInfo(i);
634 sim_->PrintStopInfo(value);
644 sim_->EnableStop(i);
647 sim_->EnableStop(value);
657 sim_->DisableStop(i);
660 sim_->DisableStop(value);
682 cur = reinterpret_cast<byte*>(sim_->get_pc());