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

Side by Side Diff: src/debug/debug.h

Issue 1265923002: Debugger: move implementation to a separate folder. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years, 4 months 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
« no previous file with comments | « src/debug/arm64/debug-arm64.cc ('k') | src/debug/debug.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_DEBUG_H_ 5 #ifndef V8_DEBUG_DEBUG_H_
6 #define V8_DEBUG_H_ 6 #define V8_DEBUG_DEBUG_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/assembler.h" 10 #include "src/assembler.h"
11 #include "src/base/atomicops.h" 11 #include "src/base/atomicops.h"
12 #include "src/base/platform/platform.h" 12 #include "src/base/platform/platform.h"
13 #include "src/debug/liveedit.h"
13 #include "src/execution.h" 14 #include "src/execution.h"
14 #include "src/factory.h" 15 #include "src/factory.h"
15 #include "src/flags.h" 16 #include "src/flags.h"
16 #include "src/frames-inl.h" 17 #include "src/frames-inl.h"
17 #include "src/hashmap.h" 18 #include "src/hashmap.h"
18 #include "src/liveedit.h"
19 #include "src/runtime/runtime.h" 19 #include "src/runtime/runtime.h"
20 #include "src/string-stream.h" 20 #include "src/string-stream.h"
21 #include "src/v8threads.h" 21 #include "src/v8threads.h"
22 22
23 #include "include/v8-debug.h" 23 #include "include/v8-debug.h"
24 24
25 namespace v8 { 25 namespace v8 {
26 namespace internal { 26 namespace internal {
27 27
28 28
(...skipping 20 matching lines...) Expand all
49 BreakException = 0, 49 BreakException = 0,
50 BreakUncaughtException = 1 50 BreakUncaughtException = 1
51 }; 51 };
52 52
53 53
54 // Type of exception break. 54 // Type of exception break.
55 enum BreakLocatorType { ALL_BREAK_LOCATIONS, CALLS_AND_RETURNS }; 55 enum BreakLocatorType { ALL_BREAK_LOCATIONS, CALLS_AND_RETURNS };
56 56
57 57
58 // The different types of breakpoint position alignments. 58 // The different types of breakpoint position alignments.
59 // Must match Debug.BreakPositionAlignment in debug-debugger.js 59 // Must match Debug.BreakPositionAlignment in debug.js
60 enum BreakPositionAlignment { 60 enum BreakPositionAlignment {
61 STATEMENT_ALIGNED = 0, 61 STATEMENT_ALIGNED = 0,
62 BREAK_POSITION_ALIGNED = 1 62 BREAK_POSITION_ALIGNED = 1
63 }; 63 };
64 64
65 65
66 class BreakLocation { 66 class BreakLocation {
67 public: 67 public:
68 // Find the break point at the supplied address, or the closest one before 68 // Find the break point at the supplied address, or the closest one before
69 // the address. 69 // the address.
(...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 static void GenerateSlot(MacroAssembler* masm, RelocInfo::Mode mode, 785 static void GenerateSlot(MacroAssembler* masm, RelocInfo::Mode mode,
786 int call_argc = -1); 786 int call_argc = -1);
787 787
788 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); 788 static void PatchDebugBreakSlot(Address pc, Handle<Code> code);
789 static void ClearDebugBreakSlot(Address pc); 789 static void ClearDebugBreakSlot(Address pc);
790 }; 790 };
791 791
792 792
793 } } // namespace v8::internal 793 } } // namespace v8::internal
794 794
795 #endif // V8_DEBUG_H_ 795 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « src/debug/arm64/debug-arm64.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698