diff options
Diffstat (limited to 'js/src/jsapi-tests/jsapi-tests-gdb.py.in')
-rw-r--r-- | js/src/jsapi-tests/jsapi-tests-gdb.py.in | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/jsapi-tests/jsapi-tests-gdb.py.in b/js/src/jsapi-tests/jsapi-tests-gdb.py.in new file mode 100644 index 000000000..c5a12f38e --- /dev/null +++ b/js/src/jsapi-tests/jsapi-tests-gdb.py.in @@ -0,0 +1,8 @@ +"""GDB Python customization auto-loader for jsapi-tests executable""" +#filter substitution + +import os.path +sys.path[0:0] = [os.path.join('@topsrcdir@', 'gdb')] + +import mozilla.autoload +mozilla.autoload.register(gdb.current_objfile()) |