diff options
| author | cclauss <cclauss@me.com> | 2019-06-28 06:43:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-28 06:43:03 +0200 |
| commit | a0e5fcf14624250ce93230cba5924b6175a176b5 (patch) | |
| tree | cd5a6d9e3d4768a46acc41e79a40fee9aa76199b | |
| parent | 8ebd67e4ee394cad9441a801f2022724ae7e07db (diff) | |
| download | rust-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.py | 1 |
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()) |
