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

Side by Side Diff: tools/gdbinit

Issue 2186293002: [gdb] Define print functions used by gdb macros in the top level namespace to make them always be a… (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/objects-printer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 the V8 project authors. All rights reserved. 1 # Copyright 2014 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 # Print HeapObjects. 5 # Print HeapObjects.
6 define job 6 define job
7 print ((v8::internal::HeapObject*)($arg0))->Print() 7 call _v8_internal_Print_Object((void*)($arg0))
8 end 8 end
9 document job 9 document job
10 Print a v8 JavaScript object 10 Print a v8 JavaScript object
11 Usage: job tagged_ptr 11 Usage: job tagged_ptr
12 end 12 end
13 13
14 # Print Code objects containing given PC. 14 # Print Code objects containing given PC.
15 define jco 15 define jco
16 job (v8::internal::Isolate::Current()->FindCodeObject((v8::internal::Address)$ar g0)) 16 call _v8_internal_Print_Code((void*)($arg0))
17 end 17 end
18 document jco 18 document jco
19 Print a v8 Code object from an internal code address 19 Print a v8 Code object from an internal code address
20 Usage: jco pc 20 Usage: jco pc
21 end 21 end
22 22
23 # Print TypeFeedbackVector 23 # Print TypeFeedbackVector
24 define jfv 24 define jfv
25 print ((v8::internal::TypeFeedbackVector*)($arg0))->Print() 25 call _v8_internal_Print_TypeFeedbackVector((void*)($arg0))
26 end 26 end
27 document jfv 27 document jfv
28 Print a v8 TypeFeedbackVector object 28 Print a v8 TypeFeedbackVector object
29 Usage: jtv tagged_ptr 29 Usage: jtv tagged_ptr
30 end 30 end
31 31
32 # Print DescriptorArray. 32 # Print DescriptorArray.
33 define jda 33 define jda
34 print ((v8::internal::DescriptorArray*)($arg0))->Print() 34 call _v8_internal_Print_DescriptorArray((void*)($arg0))
35 end 35 end
36 document jda 36 document jda
37 Print a v8 DescriptorArray object 37 Print a v8 DescriptorArray object
38 Usage: jda tagged_ptr 38 Usage: jda tagged_ptr
39 end 39 end
40 40
41 # Print TransitionArray. 41 # Print TransitionArray.
42 define jta 42 define jta
43 print ((v8::internal::TransitionArray*)($arg0))->Print() 43 call _v8_internal_Print_TransitionArray((void*)($arg0))
44 end 44 end
45 document jta 45 document jta
46 Print a v8 TransitionArray object 46 Print a v8 TransitionArray object
47 Usage: jta tagged_ptr 47 Usage: jta tagged_ptr
48 end 48 end
49 49
50 # Print JavaScript stack trace. 50 # Print JavaScript stack trace.
51 define jst 51 define jst
52 print v8::internal::Isolate::Current()->PrintStack((FILE*) stdout, 1) 52 call _v8_internal_Print_StackTrace()
53 end 53 end
54 document jst 54 document jst
55 Print the current JavaScript stack trace 55 Print the current JavaScript stack trace
56 Usage: jst 56 Usage: jst
57 end 57 end
58 58
59 set disassembly-flavor intel 59 set disassembly-flavor intel
60 set disable-randomization off 60 set disable-randomization off
OLDNEW
« no previous file with comments | « src/objects-printer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698