summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
new file mode 100644
index 00000000..77c560c2
--- /dev/null
+++ b/src/.gdbinit
@@ -0,0 +1,8 @@
+python
+sys.path.insert(0, '../gdb/')
+import gdb.printing
+import kakoune
+gdb.printing.register_pretty_printer(
+ gdb.current_objfile(),
+ kakoune.build_pretty_printer())
+end