Skip to content

Commit 1dd76cc

Browse files
committed
Work around possible remaining gdb v15 regression in tests/debuginfo/print_gdb.d
1 parent db97c0f commit 1dd76cc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/debuginfo/print_gdb.d

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ void main()
9797
// CHECK: type = print_gdb.eA
9898
// GDB: whatis print_gdb.eA
9999
// CHECK: type = print_gdb.eA
100-
// GDB: p b_Glob
100+
// note: `b_Glob` worked with gdb v9; gdb v15 requires a fully qualified name
101+
// GDB: p inputs.import_b.b_Glob
101102
// CHECK: = 99.8
102103

103104
cC clsC = new cC;
@@ -106,7 +107,7 @@ void main()
106107
clsC.mixedVal++;
107108

108109
// BP
109-
// GDB: b print_gdb.d:109
110+
// GDB: b print_gdb.d:110
110111
// GDB: c
111112
// GDB: p *clsC
112113
// GDB: p clsC.classMemberFunc(6)
@@ -123,7 +124,7 @@ void main()
123124
templatedStruct!float tsF;
124125

125126
// BP
126-
// GDB: b print_gdb.d:126
127+
// GDB: b print_gdb.d:127
127128
// GDB: c
128129
// GDB: whatis tsF
129130
// CHECK: type = print_gdb.templatedStruct

0 commit comments

Comments
 (0)