Index: tools/gdb/gdb_chrome.py |
diff --git a/tools/gdb/gdb_chrome.py b/tools/gdb/gdb_chrome.py |
index aa2e55a06ab8358c7a8d7b38d43ccdb2fe627dd2..22682d39d2bcdc285702239e5e8efbbbc1113d39 100644 |
--- a/tools/gdb/gdb_chrome.py |
+++ b/tools/gdb/gdb_chrome.py |
@@ -22,6 +22,11 @@ to print |any_variable| without using any printers. |
import datetime |
import gdb |
import gdb.printing |
+import os |
+import sys |
+ |
+sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), |
Jeffrey Yasskin
2014/07/28 19:39:39
It's a bit safer to remove the element of sys.path
|
+ '..', '..', 'third_party', 'WebKit', 'Tools', 'gdb')) |
import webkit |
# When debugging this module, set the below variable to True, and then use |