js/src/gdb/gdb-tests-gdb.py.in

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

michael@0 1 """GDB Python customization auto-loader for GDB test executable"""
michael@0 2 #filter substitution
michael@0 3
michael@0 4 import os.path
michael@0 5 sys.path[0:0] = [os.path.join('@topsrcdir@', 'gdb')]
michael@0 6
michael@0 7 import mozilla.autoload
michael@0 8 mozilla.autoload.register(gdb.current_objfile())

mercurial