about summary refs log tree commit diff
path: root/src/test/debuginfo/gdb-pretty-struct-and-enums.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-62/+0
2021-04-03Remove redundant `ignore-tidy-linelength` annotationsSimon Jakobi-1/+0
This is step 2 towards fixing #77548. In the codegen and codegen-units test suites, the `//` comment markers were kept in order not to affect any source locations. This is because these tests cannot be automatically `--bless`ed.
2020-06-09Implement new gdb/lldb pretty-printersortem-2/+2
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.
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-19Disable some pretty-printers when gdb is rust-enabledTom Tromey-0/+73
A rust-enabled gdb already knows how to display string slices, structs, tuples, and enums (and after #54004, the pretty-printers can't handle enums at all). This patch disables these pretty-printers when gdb is rust-enabled. The "gdb-pretty-struct-and-enums-pre-gdb-7-7.rs" test is renamed, because it does not seem to depend on any behavior of that version of gdb, and because gdb 7.7 is 4 years old now.
2015-08-05Revert "debuginfo: Bring back some GDB pretty printing autotests that are ↵Alex Crichton-188/+0
not actually broken." This reverts commit 354cf4b56b8e2af67cc68965eb816deec0e79e4b.
2015-08-03debuginfo: Bring back some GDB pretty printing autotests that are not ↵Michael Woerister-0/+188
actually broken.
2015-06-12ignore-test cleanupSteve Klabnik-189/+0
Most of these are old, but some specific messages for specific tests: * trait-contravariant-self.rs: failed due to a soundess hole: https://github.com/rust-lang/rust/commit/05e3248a7974f55b64f75a2483b37ff8c001a4ff * process-detatch: https://github.com/rust-lang/rust/commit/15966c3c1f99810ac81053769651776a67181dae says "this test is being ignored until signals are implemented" That's not happening for a long time, and when it is, we'll write tests for it. * deep-vector{,2}.rs: "too big for our poor macro infrastructure", and has been ignored over a year. * borrowck-nested-calls.rs's FIXME #6268 was closed in favor of rust-lang/rfcs#811 * issue-15167.rs works properly now * issue-9737.rs works properly now * match-var-hygiene.rs works properly now Addresses a chunk of #3965
2015-06-07test: Ignore gdb-pretty-struct-and-enums.rsBrian Anderson-0/+1
Broken on nightly linux distcheck.
2015-04-28#10381: WarningsTamir Duberstein-0/+2
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-3/+3
Now that support has been removed, all lingering use cases are renamed.
2015-02-18Fix remaining bench/debuginfo tests (and a few stragglers)Niko Matsakis-1/+1
2015-02-15Fix tests that fail on FreeBSDWill-0/+1
2015-01-05Fixed testsKelvin Ly-1/+0
2015-01-05Fixed testsKelvin Ly-2/+2
2015-01-05Added two tests for pretty printing optimized enumsKelvin Ly-0/+10
2014-12-30debuginfo: Add a rust-gdb shell script that will start GDB with Rust pretty ↵Michael Woerister-1/+0
printers enabled.
2014-12-02gdb: Fix pretty printer for nullable-opt enums with fat pointers.Luqman Aden-2/+10
2014-11-20removed struct_variant feature from testsSimon Wollwage-2/+0
2014-11-17Switch to purely namespaced enumsSteven Fackler-0/+4
This breaks code that referred to variant names in the same namespace as their enum. Reexport the variants in the old location or alter code to refer to the new locations: ``` pub enum Foo { A, B } fn main() { let a = A; } ``` => ``` pub use self::Foo::{A, B}; pub enum Foo { A, B } fn main() { let a = A; } ``` or ``` pub enum Foo { A, B } fn main() { let a = Foo::A; } ``` [breaking-change]
2014-10-31debuginfo: Make GDB tests use line breakpoints like done in LLDB tests.Michael Woerister-7/+1
On some Windows versions of GDB this is more stable than setting breakpoints via function names.
2014-09-18Ignore two gdb tests on windows that are failing on the botsBrian Anderson-0/+1
2014-09-17test: Un-ignore some GDB pretty printing testsAlex Crichton-1/+0
I've confirmed that these are working on the snapshot builders Closes #16919
2014-09-02test: Ignore failing gdb pretty testsAlex Crichton-0/+1
These tests are blocking a linux nightly and a new snapshot, so ignore them for now. Their tracking issue is #16919.
2014-08-27debuginfo: Emit different autotest debugger scripts depending on GDB version.Michael Woerister-1/+6
2014-08-27debuginfo: Add GDB pretty printers for structs and enums.Michael Woerister-0/+167