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

Side by Side Diff: tools/gdbinit

Issue 669383002: Fix "jst" GDB macro (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 print ((v8::internal::HeapObject*)($arg0))->Print()
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 job (v8::internal::Isolate::Current()->FindCodeObject((v8::internal::Address)$ar g0))
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 JavaScript stack trace. 23 # Print JavaScript stack trace.
24 define jst 24 define jst
25 print v8::internal::Isolate::Current()->PrintStack(stdout) 25 print v8::internal::Isolate::Current()->PrintStack((FILE*) stdout)
26 end 26 end
27 document jst 27 document jst
28 Print the current JavaScript stack trace 28 Print the current JavaScript stack trace
29 Usage: jst 29 Usage: jst
30 end 30 end
31 31
32 set disassembly-flavor intel 32 set disassembly-flavor intel
33 set disable-randomization off 33 set disable-randomization off
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698