about summary refs log tree commit diff
path: root/src/librustdoc/doctest.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-29 08:22:44 +0000
committerbors <bors@rust-lang.org>2021-04-29 08:22:44 +0000
commit78c963945aa35a76703bf62e024af2d85b2796e2 (patch)
tree90b165a21c18a3d596fc060c2c3ab9573103d147 /src/librustdoc/doctest.rs
parentd337cec9af59af14bde28fc8e5b250c1b31c1b72 (diff)
parente8e5a884ad9d6d1f7f0091cde961d462e17765eb (diff)
downloadrust-78c963945aa35a76703bf62e024af2d85b2796e2.tar.gz
rust-78c963945aa35a76703bf62e024af2d85b2796e2.zip
Auto merge of #84618 - lrh2000:fix-gdb-10-str, r=Mark-Simulacrum
Fix failed tests related to pointer printing when using GDB 10

As mentioned in #79009, there are four failed debuginfo test cases when using GDB 10. This PR fixes two of them, which fail because GDB 10 won't print pointers as string anymore. We can use `printf` as a workaround. It should work regardless of the version of GDB.

Refer this [comment] for more details.

[comment]: https://github.com/rust-lang/rust/issues/79009#issuecomment-826952708
Diffstat (limited to 'src/librustdoc/doctest.rs')
0 files changed, 0 insertions, 0 deletions