gentoo90
ac33d2cbfb
Fix GDB pretty-printer for tuples
...
Names of children should not be the same,
because GDB uses them to distinguish the children.
2017-05-28 12:08:40 +03:00
Eitan Adler
22c66c4b38
modern style classes
2016-09-17 23:09:21 -07:00
Eitan Adler
733fe1d25c
make functions static where possible
2016-09-17 23:08:31 -07:00
bors
824000aee3
Auto merge of #35585 - Kha:gdb-qualified, r=michaelwoerister
...
gdb: Fix pretty-printing special-cased Rust types
gdb trunk now reports fully qualified type names, just like lldb. Move lldb code for extracting unqualified names to shared file.
For current releases of gdb, `extract_type_name` should just be a no-op.
Fixes #35155
2016-08-31 05:51:58 -07:00
Michael Woerister
6aca068aba
Make version check in gdb_rust_pretty_printing.py more compatible.
...
Some versions of Python don't support the `major` field on the
object returned by `sys.version_info`.
2016-08-17 09:55:27 -04:00
Sebastian Ullrich
471407205b
gdb: Fix pretty-printing special-cased Rust types
...
gdb trunk now reports fully qualified type names, just like lldb. Move
lldb code for extracting unqualified names to shared file.
2016-08-10 22:35:58 -04:00
Alex Crichton
01c4b64b1c
etc: Comment why we're binding xrange
...
Just mention there are differences between python versions
2016-07-06 11:17:26 -07:00
Loïc Damien
51e89ab08b
Use lazy range in gdb pretty printers
2016-07-05 19:57:44 +02:00
Loïc Damien
5de76afcfd
Use lazy iterator in vec/slice gdb pretty printers
2016-07-04 20:22:10 +02:00
Steven Burns
04baf2593e
Generic encoded enums no longer crash on reference/pointer types
2016-05-12 22:01:49 -06:00
Michael Woerister
d136714e04
debuginfo: Create common debugger pretty printer module.
...
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.
2015-05-30 20:06:08 +02:00
Michael Woerister
03f9269496
Add a name for tuple fields in debuginfo so that they can be accessed in debuggers.
2015-04-12 20:44:25 +02:00
Tamir Duberstein
d51047ded0
Strip all leading/trailing newlines
2015-03-15 09:08:21 -07:00
Michael Woerister
90fc28d0f2
debuginfo: Add GDB pretty printers for slices, Vec<>, and String.
2015-03-12 17:05:44 +01:00
Richo Healey
6af36031e2
Fix PEP8 in gdb pretty printer
2015-01-27 01:09:38 -08:00
Kelvin Ly
22cae7e034
Pylinted and slightly better commented
2015-01-04 23:43:47 -05:00
Kelvin Ly
3d3670bc65
Added fix to LLDB formatter
2015-01-04 23:35:29 -05:00
Kelvin Ly
d009a76182
Fixed GDB pretty printer more
2015-01-04 21:39:07 -05:00
Kelvin Ly
56a5f3184d
Fixed GDB pretty printer to work on enums correctly
2015-01-04 21:39:07 -05:00
Luqman Aden
89d0995373
gdb: Fix pretty printer for nullable-opt enums with fat pointers.
2014-12-02 18:28:43 -05:00
Michael Woerister
98a0f9166c
debuginfo: Don't mark struct fields as artificial.
...
LLDB doesn't allow for reading 'artifical' fields (fields that are generated by the compiler). So do not mark, slice fields, enum discriminants, and GcBox value fields as artificial.
2014-10-08 11:52:06 +02:00
Michael Woerister
849ae5d881
debuginfo: Emit different autotest debugger scripts depending on GDB version.
2014-08-27 15:19:14 +02:00
Michael Woerister
6974b4f1b5
debuginfo: Add GDB pretty printers for structs and enums.
2014-08-27 15:19:14 +02:00