about summary refs log tree commit diff
path: root/src/etc/debugger_pretty_printers_common.py
AgeCommit message (Collapse)AuthorLines
2020-06-09Implement new gdb/lldb pretty-printersortem-401/+0
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.
2020-02-07PEP8 format spacingChris Simpkins-2/+4
2018-12-26Remove the private generic NonZero<T> wrapper type.Simon Sapin-4/+2
Instead, use `#[rustc_layout_scalar_valid_range_start(1)]` directly on relevant libcore types.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-21Fix BTreeSet and BTreeMap gdb pretty-printersTom Tromey-26/+0
The BTreeSet and BTreeMap gdb pretty-printers did not take the node structure into account, and consequently only worked for shallow sets. This fixes the problem by iterating over child nodes when needed. This patch avoids the current approach of implementing some of the value manipulations in debugger-indepdendent code. This was done for convenience: a type lookup was needed for the first time, and there currently are no lldb formatters for these types. Closes #55771
2018-08-15pretty printing for btreemapUnknown-0/+21
2018-08-06pretty print BTreeSetfukatani-0/+22
2018-07-29pretty print for std::collections::vecdequeUnknown-0/+33
2017-06-09Add compat_str() which works with unicode in both Python 2 and 3gentoo90-0/+5
GDB can be built with Python 2 or with Python 3
2017-06-02Add GDB pretty-printer for OsStringgentoo90-0/+9
2017-01-01Add pretty printing of unions in debuggersPhilip Craig-6/+10
Fixes #37479
2016-09-17pep8 prefers triple quoted with double quotesEitan Adler-1/+1
2016-08-10gdb: Fix pretty-printing special-cased Rust typesSebastian Ullrich-0/+17
gdb trunk now reports fully qualified type names, just like lldb. Move lldb code for extracting unqualified names to shared file.
2016-07-04Added a pretty printer for &mut slicesNikhil Shagrithaya-1/+1
2015-07-17fix pretty printers to handle new VecAlexis Beingessner-9/+7
2015-05-30debuginfo: Create common debugger pretty printer module.Michael Woerister-0/+328
GDB and LLDB pretty printers have some common functionality and also access some common information, such as the layout of standard library types. So far, this information has been duplicated in the two pretty printing python modules. This commit introduces a common module used by both debuggers.