Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: runtime/vm/simulator_arm64.h

Issue 789903002: Complete and clean up breakpoint support in all 3 debuggers embedded in MIPS, (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/vm/simulator_arm.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // Declares a Simulator for ARM64 instructions if we are not generating a native 5 // Declares a Simulator for ARM64 instructions if we are not generating a native
6 // ARM64 binary. This Simulator allows us to run and debug ARM64 code generation 6 // ARM64 binary. This Simulator allows us to run and debug ARM64 code generation
7 // on regular desktop machines. 7 // on regular desktop machines.
8 // Dart calls into generated code by "calling" the InvokeDartCode stub, 8 // Dart calls into generated code by "calling" the InvokeDartCode stub,
9 // which will start execution in the Simulator or forwards to the real entry 9 // which will start execution in the Simulator or forwards to the real entry
10 // on a ARM64 HW platform. 10 // on a ARM64 HW platform.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void get_vregister(VRegister reg, simd_value_t* value) const; 64 void get_vregister(VRegister reg, simd_value_t* value) const;
65 void set_vregister(VRegister reg, const simd_value_t& value); 65 void set_vregister(VRegister reg, const simd_value_t& value);
66 66
67 int64_t get_pc() const; 67 int64_t get_pc() const;
68 int64_t get_last_pc() const; 68 int64_t get_last_pc() const;
69 void set_pc(int64_t pc); 69 void set_pc(int64_t pc);
70 70
71 // Accessor to the internal simulator stack top. 71 // Accessor to the internal simulator stack top.
72 uword StackTop() const; 72 uword StackTop() const;
73 73
74 // Accessor to the instruction counter.
75 intptr_t get_icount() const { return icount_; }
76
74 // The isolate's top_exit_frame_info refers to a Dart frame in the simulator 77 // The isolate's top_exit_frame_info refers to a Dart frame in the simulator
75 // stack. The simulator's top_exit_frame_info refers to a C++ frame in the 78 // stack. The simulator's top_exit_frame_info refers to a C++ frame in the
76 // native stack. 79 // native stack.
77 uword top_exit_frame_info() const { return top_exit_frame_info_; } 80 uword top_exit_frame_info() const { return top_exit_frame_info_; }
78 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; } 81 void set_top_exit_frame_info(uword value) { top_exit_frame_info_ = value; }
79 82
80 // Call on program start. 83 // Call on program start.
81 static void InitOnce(); 84 static void InitOnce();
82 85
83 // Dart generally calls into generated code with 5 parameters. This is a 86 // Dart generally calls into generated code with 5 parameters. This is a
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 } 265 }
263 266
264 friend class SimulatorDebugger; 267 friend class SimulatorDebugger;
265 friend class SimulatorSetjmpBuffer; 268 friend class SimulatorSetjmpBuffer;
266 DISALLOW_COPY_AND_ASSIGN(Simulator); 269 DISALLOW_COPY_AND_ASSIGN(Simulator);
267 }; 270 };
268 271
269 } // namespace dart 272 } // namespace dart
270 273
271 #endif // VM_SIMULATOR_ARM64_H_ 274 #endif // VM_SIMULATOR_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/simulator_arm.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698