build/.gdbinit.py.in
author Tim Huang <tihuang@mozilla.com>
Wed, 16 Jul 2025 17:26:02 +0000 (6 hours ago)
changeset 796860 b48b65b15c8e8520f1eedcbd3aa29b2669fc3d20
parent 553905 61e6186f7eec1b583b4ea509e681cb1b0a2e8fb3
permissions -rw-r--r--
Bug 1976834 - Add the SafeBrowsing V5 protobuf files. r=dimi Differential Revision: https://phabricator.services.mozilla.com/D257225
#filter substitution

import os
import sys

sys.path.append(os.path.join('@topsrcdir@', 'js', 'src', 'gdb'))
sys.path.append(os.path.join('@topsrcdir@', 'python', 'gdbpp'))

# JS prettyprinters

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

import mozilla.asmjs
mozilla.asmjs.install()

# Gecko prettyprinters

import gdbpp