Skip to content

Commit bf1366b

Browse files
authored
Rollup merge of rust-lang#99392 - nnethercote:fix-debuginfo-tests, r=pnkfelix
Fix debuginfo tests. This is needed for my Ubuntu 22.04 box due to a slight change in gdb output. The fix is similar to the fix in rust-lang#95063.
2 parents d00646b + 13bf958 commit bf1366b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: src/test/debuginfo/basic-types-globals-lto.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// gdbr-command:print I
1515
// gdb-check:$2 = -1
1616
// gdbg-command:print 'basic_types_globals::C'
17-
// gdbr-command:print C
17+
// gdbr-command:print/d C
1818
// gdbg-check:$3 = 97
1919
// gdbr-check:$3 = 97
2020
// gdbg-command:print/d 'basic_types_globals::I8'

Diff for: src/test/debuginfo/basic-types-globals.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
// gdbr-command:print I
1414
// gdb-check:$2 = -1
1515
// gdbg-command:print 'basic_types_globals::C'
16-
// gdbr-command:print C
16+
// gdbr-command:print/d C
1717
// gdbg-check:$3 = 97
1818
// gdbr-check:$3 = 97
1919
// gdbg-command:print/d 'basic_types_globals::I8'

0 commit comments

Comments
 (0)