From: Rust Maintainers Date: Wed, 9 Aug 2017 02:49:55 +0000 (+0100) Subject: u-fix-debuginfo X-Git-Tag: archive/raspbian/1.19.0+dfsg3-4+rpi1^2~29 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2bea7fd9bbb2d0b74c0d76d2e52c5675e112d4d5;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 {