diff options
| author | lrh2000 <lrh2000@pku.edu.cn> | 2021-04-27 23:07:36 +0800 |
|---|---|---|
| committer | lrh2000 <lrh2000@pku.edu.cn> | 2021-04-27 23:07:36 +0800 |
| commit | e8e5a884ad9d6d1f7f0091cde961d462e17765eb (patch) | |
| tree | eafccb7a13a115ffd5864aae2ccdeaa74912ab81 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | dc8cb63078c1322cef0ac11c2f8b006f6e310a46 (diff) | |
| download | rust-e8e5a884ad9d6d1f7f0091cde961d462e17765eb.tar.gz rust-e8e5a884ad9d6d1f7f0091cde961d462e17765eb.zip | |
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 commit 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 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
