summaryrefslogtreecommitdiffstats
path: root/js/src/shell/js-gdb.py.in
blob: 16199bb4cc5b004bd9fc8b386dd618336f8cbd11 (plain)
1
2
3
4
5
6
7
8
9
10
11
""" GDB Python customization auto-loader for js shell """
#filter substitution

import os.path
sys.path[0:0] = [os.path.join('@topsrcdir@', 'gdb')]

import mozilla.autoload
mozilla.autoload.register(gdb.current_objfile())

import mozilla.asmjs
mozilla.asmjs.install()