summaryrefslogtreecommitdiff
path: root/system/evil/libxul.so-gdb.py.in
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-02-12 17:47:03 +0000
committerMatt A. Tobin <email@mattatobin.com>2022-02-12 14:23:18 -0600
commitf66babd8b8368ada3e5aa29cdef1c77291ee4ddd (patch)
treee3842e2a6bf19090185f9c475b3846e1bb79ac97 /system/evil/libxul.so-gdb.py.in
downloadGRE-f66babd8b8368ada3e5aa29cdef1c77291ee4ddd.tar.gz
Create the Goanna Runtime Environment
Diffstat (limited to 'system/evil/libxul.so-gdb.py.in')
-rw-r--r--system/evil/libxul.so-gdb.py.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/evil/libxul.so-gdb.py.in b/system/evil/libxul.so-gdb.py.in
new file mode 100644
index 000000000..dfa73f25b
--- /dev/null
+++ b/system/evil/libxul.so-gdb.py.in
@@ -0,0 +1,8 @@
+""" GDB Python customization auto-loader for libxul """
+#filter substitution
+
+import os.path
+sys.path[0:0] = [os.path.join('@topsrcdir@', 'js', 'src', 'gdb')]
+
+import mozilla.autoload
+mozilla.autoload.register(gdb.current_objfile())