47c26e69a9
Replace old GDB and LLDB pretty-printers with new ones which were originally written for IntelliJ Rust. New LLDB pretty-printers support synthetic children. New GDB/LLDB pretty-printers support all Rust types supported by old pretty-printers, and also support: Rc, Arc, Cell, Ref, RefCell, RefMut, HashMap, HashSet.
4 lines
81 B
Python
4 lines
81 B
Python
import gdb
|
|
import gdb_lookup
|
|
gdb_lookup.register_printers(gdb.current_objfile())
|