diff options
| author | Tom Tromey <tom@tromey.com> | 2017-10-03 13:28:57 -0600 |
|---|---|---|
| committer | Tom Tromey <tom@tromey.com> | 2017-10-06 13:05:53 -0600 |
| commit | c3c1df582094b10f803d875f43f6e8b7e3107c5d (patch) | |
| tree | 219fce4696f60728a31f343dc39dff7b4bf96b90 /src/test/incremental/thinlto | |
| parent | a8feaee5b6b54c03f49481fe04a9ad9e8f659f7c (diff) | |
| download | rust-c3c1df582094b10f803d875f43f6e8b7e3107c5d.tar.gz rust-c3c1df582094b10f803d875f43f6e8b7e3107c5d.zip | |
Implement display_hint in gdb pretty printers
A few pretty-printers were returning a quoted string from their to_string method. It's preferable in gdb to return a lazy string and to let gdb handle the display by having a "display_hint" method that returns "string" -- it lets gdb settings (like "set print ...") work, it handles corrupted strings a bit better, and it passes the information along to IDEs.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
