From: Rust Maintainers Date: Mon, 17 Jul 2017 11:41:59 +0000 (+0100) Subject: u-fix-debuginfo X-Git-Tag: archive/raspbian/1.17.0+dfsg2-8+rpi1~1^2~15 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=179f80ce865ff71d0da12dbfc45723fe185d629b;p=rustc.git u-fix-debuginfo Gbp-Pq: Name u-fix-debuginfo.patch --- diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 1ec0838d45..51ab38b1a4 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -645,6 +645,9 @@ actual:\n\ script_str.push_str(&format!("file {}\n", exe_file.to_str().unwrap() .replace(r"\", r"\\"))); + if self.config.gdb_native_rust { + script_str.push_str("set language rust\n"); + } // Add line breakpoints for line in &breakpoint_lines {