We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5230fb commit ed26f6eCopy full SHA for ed26f6e
src/tools/compiletest/src/runtest.rs
@@ -977,7 +977,8 @@ impl<'test> TestCx<'test> {
977
script_str.push_str("set print pretty off\n");
978
979
// Add the pretty printer directory to GDB's source-file search path
980
- script_str.push_str(&format!("directory {}\n", rust_pp_module_abs_path));
+ script_str
981
+ .push_str(&format!("directory {}\n", rust_pp_module_abs_path.replace(r"\", r"\\")));
982
983
// Load the target executable
984
script_str
0 commit comments