summaryrefslogtreecommitdiffstats
path: root/src/etc/gdb_load_rust_pretty_printers.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/etc/gdb_load_rust_pretty_printers.py')
-rw-r--r--src/etc/gdb_load_rust_pretty_printers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/etc/gdb_load_rust_pretty_printers.py b/src/etc/gdb_load_rust_pretty_printers.py
new file mode 100644
index 000000000..856b5df2d
--- /dev/null
+++ b/src/etc/gdb_load_rust_pretty_printers.py
@@ -0,0 +1,3 @@
+import gdb
+import gdb_lookup
+gdb_lookup.register_printers(gdb.current_objfile())