Skip to content

Commit bac291c

Browse files
committed
Delete redundant gdb-version requirements and related comments
1 parent 4d1d471 commit bac291c

23 files changed

+0
-46
lines changed

tests/debuginfo/basic-types-globals.rs

-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
// Caveat - gdb doesn't know about UTF-32 character encoding and will print a
2-
// rust char as only its numerical value.
3-
41
//@ min-lldb-version: 310
5-
//@ min-gdb-version: 8.0
62

73
//@ revisions: lto no-lto
84

tests/debuginfo/borrowed-enum.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Require a gdb or lldb that can read DW_TAG_variant_part.
2-
//@ min-gdb-version: 8.2
31
//@ min-lldb-version: 1800
42

53
//@ compile-flags:-g

tests/debuginfo/coroutine-objects.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Require a gdb that can read DW_TAG_variant_part.
2-
//@ min-gdb-version: 8.2
31
//@ min-lldb-version: 1800
42

53
// LLDB (18.1+) now supports DW_TAG_variant_part, but there is some bug in either compiler or LLDB

tests/debuginfo/embedded-visualizer.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//@ compile-flags:-g
2-
//@ min-gdb-version: 8.1
32
//@ ignore-lldb
43
//@ ignore-windows-gnu // emit_debug_gdb_scripts is disabled on Windows
54

tests/debuginfo/empty-string.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
//@ ignore-windows failing on win32 bot
22
//@ ignore-android: FIXME(#10381)
33
//@ compile-flags:-g
4-
//@ min-gdb-version: 8.1
5-
//@ ignore-gdb-version: 7.11.90 - 8.0.9
64
//@ min-lldb-version: 310
75

86
// === GDB TESTS ===================================================================================

tests/debuginfo/gdb-pretty-struct-and-enums.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ ignore-lldb
22
//@ ignore-android: FIXME(#10381)
3-
//@ min-gdb-version: 8.1
43

54
//@ compile-flags:-g
65

tests/debuginfo/generic-enum-with-different-disr-sizes.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
//@ ignore-lldb: FIXME(#27089)
22
//@ min-lldb-version: 310
33

4-
// Require a gdb that can read DW_TAG_variant_part.
5-
//@ min-gdb-version: 8.2
6-
74
//@ compile-flags:-g
85

96
// === GDB TESTS ===================================================================================

tests/debuginfo/generic-struct-style-enum.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
//@ min-lldb-version: 310
22

3-
// Require a gdb that can read DW_TAG_variant_part.
4-
//@ min-gdb-version: 8.2
5-
63
//@ compile-flags:-g
74

85
// gdb-command:set print union on

tests/debuginfo/generic-tuple-style-enum.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Require a gdb or lldb that can read DW_TAG_variant_part.
2-
//@ min-gdb-version: 8.2
3-
41
//@ compile-flags:-g
52

63
// === GDB TESTS ===================================================================================

tests/debuginfo/issue-57822.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
// This test makes sure that the LLDB pretty printer does not throw an exception
22
// for nested closures and coroutines.
33

4-
// Require a gdb that can read DW_TAG_variant_part.
5-
//@ min-gdb-version: 8.2
64
//@ min-lldb-version: 1800
75
//@ compile-flags:-g
86

tests/debuginfo/numeric-types.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//@ compile-flags:-g
22

3-
//@ min-gdb-version: 8.1
43
//@ ignore-windows-gnu // emit_debug_gdb_scripts is disabled on Windows
54

65
// Tests the visualizations for `NonZero<T>`, `Wrapping<T>` and

tests/debuginfo/packed-struct.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//@ min-lldb-version: 310
2-
//@ ignore-gdb-version: 7.11.90 - 7.12.9
32

43
//@ compile-flags:-g
54

tests/debuginfo/pretty-huge-vec.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@ ignore-windows failing on win32 bot
22
//@ ignore-android: FIXME(#10381)
33
//@ compile-flags:-g
4-
//@ min-gdb-version: 8.1
54
//@ min-lldb-version: 310
65

76
// === GDB TESTS ===================================================================================

tests/debuginfo/pretty-std-collections.rs

-4
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
//@ ignore-windows-gnu: #128981
44
//@ compile-flags:-g
55

6-
// The pretty printers being tested here require the patch from
7-
// https://sourceware.org/bugzilla/show_bug.cgi?id=21763
8-
//@ min-gdb-version: 8.1
9-
106
//@ min-lldb-version: 310
117

128
// === GDB TESTS ===================================================================================

tests/debuginfo/pretty-std.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
//@ ignore-windows-gnu: #128981
33
//@ ignore-android: FIXME(#10381)
44
//@ compile-flags:-g
5-
//@ min-gdb-version: 7.7
65
//@ min-lldb-version: 1800
76
//@ min-cdb-version: 10.0.18317.1001
87

tests/debuginfo/pretty-uninitialized-vec.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@ ignore-windows failing on win32 bot
22
//@ ignore-android: FIXME(#10381)
33
//@ compile-flags:-g
4-
//@ min-gdb-version: 8.1
54
//@ min-lldb-version: 310
65

76
// === GDB TESTS ===================================================================================

tests/debuginfo/rc_arc.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//@ ignore-windows-gnu: #128981
22
//@ compile-flags:-g
33

4-
//@ min-gdb-version: 8.1
54
//@ min-cdb-version: 10.0.18317.1001
65

76
// === GDB TESTS ==================================================================================

tests/debuginfo/recursive-struct.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
//@ ignore-lldb
22

3-
// Require a gdb that can read DW_TAG_variant_part.
4-
//@ min-gdb-version: 8.2
5-
63
//@ compile-flags:-g
74

85
// gdb-command:run

tests/debuginfo/struct-in-enum.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//@ min-lldb-version: 1800
2-
//@ ignore-gdb-version: 7.11.90 - 7.12.9
32

43
//@ compile-flags:-g
54

tests/debuginfo/struct-style-enum.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Require a gdb or lldb that can read DW_TAG_variant_part.
2-
//@ min-gdb-version: 8.2
31
//@ min-lldb-version: 1800
42
//@ compile-flags:-g
53

tests/debuginfo/tuple-style-enum.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Require a gdb or lldb that can read DW_TAG_variant_part.
2-
//@ min-gdb-version: 8.2
31
//@ min-lldb-version: 1800
42

53
//@ compile-flags:-g

tests/debuginfo/unique-enum.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// Require a gdb or lldb that can read DW_TAG_variant_part.
2-
//@ min-gdb-version: 8.2
31
//@ min-lldb-version: 1800
42

53
//@ compile-flags:-g

tests/debuginfo/unit-type.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
//@ compile-flags:-g
22

3-
// We only test Rust-aware versions of GDB:
4-
//@ min-gdb-version: 8.2
5-
63
// === GDB TESTS ===================================================================================
74

85
// gdb-command: run

0 commit comments

Comments
 (0)