From: Rust Maintainers Date: Tue, 25 Jul 2017 21:19:47 +0000 (+0100) Subject: u-fix-debuginfo X-Git-Tag: archive/raspbian/1.19.0+dfsg3-4+rpi1~1^2~29 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bdeb0949cf3a775dd2499ecaf6190fb227b9907a;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 7fb296c19f..ea3e66a7c3 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 {