xref: /aosp_15_r20/tools/security/gdb/gdb_json_printer/gdbinit (revision d9ecfb0f4d734c9ce41cde8ac4d585b094fd4222)
1*d9ecfb0fSAndroid Build Coastguard Workerset auto-load python-scripts off
2*d9ecfb0fSAndroid Build Coastguard Workerpython
3*d9ecfb0fSAndroid Build Coastguard Workerimport sys
4*d9ecfb0fSAndroid Build Coastguard Workersys.path.insert(0, '<path_to_gdb_json_printer>')
5*d9ecfb0fSAndroid Build Coastguard Workerfrom gdb_json_printer.printers import register_printers
6*d9ecfb0fSAndroid Build Coastguard Workerregister_printers()
7*d9ecfb0fSAndroid Build Coastguard Workerend