about summary refs log tree commit diff
diff options
context:
space:
mode:
authorcclauss <cclauss@me.com>2019-06-28 06:43:03 +0200
committerGitHub <noreply@github.com>2019-06-28 06:43:03 +0200
commita0e5fcf14624250ce93230cba5924b6175a176b5 (patch)
treecd5a6d9e3d4768a46acc41e79a40fee9aa76199b
parent8ebd67e4ee394cad9441a801f2022724ae7e07db (diff)
downloadrust-a0e5fcf14624250ce93230cba5924b6175a176b5.tar.gz
rust-a0e5fcf14624250ce93230cba5924b6175a176b5.zip
import gdb for explicit access to gdb.current_objfile()
-rw-r--r--src/etc/gdb_load_rust_pretty_printers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/gdb_load_rust_pretty_printers.py b/src/etc/gdb_load_rust_pretty_printers.py
index c551346bb00..fe38c49d270 100644
--- a/src/etc/gdb_load_rust_pretty_printers.py
+++ b/src/etc/gdb_load_rust_pretty_printers.py
@@ -1,2 +1,3 @@
+import gdb
 import gdb_rust_pretty_printing
 gdb_rust_pretty_printing.register_printers(gdb.current_objfile())