Commit 391f1ac3 authored by yangguo's avatar yangguo Committed by Commit bot

Add gdb macro for printing v8::Local content.

R=marja@chromium.org

Review-Url: https://codereview.chromium.org/2628293003
Cr-Commit-Position: refs/heads/master@{#42327}
parent 83d5b65a
...@@ -11,6 +11,15 @@ Print a v8 JavaScript object ...@@ -11,6 +11,15 @@ Print a v8 JavaScript object
Usage: job tagged_ptr Usage: job tagged_ptr
end end
# Print v8::Local handle value.
define jlh
call _v8_internal_Print_Object(*(v8::internal::Object**)(*$arg0))
end
document jlh
Print content of a v8::Local handle
Usage: jlh local_handle
end
# Print Code objects containing given PC. # Print Code objects containing given PC.
define jco define jco
call _v8_internal_Print_Code((void*)($arg0)) call _v8_internal_Print_Code((void*)($arg0))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment