From 1507d45aa42f1c30694b2cfaa91df7ba21c7f2a3 Mon Sep 17 00:00:00 2001 From: Rust Maintainers Date: Sun, 15 Oct 2017 22:30:35 +0100 Subject: [PATCH] u-fix-debuginfo Gbp-Pq: Name u-fix-debuginfo.patch --- src/tools/compiletest/src/runtest.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/compiletest/src/runtest.rs b/src/tools/compiletest/src/runtest.rs index 45a733d411..122860f5aa 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"); + } // Force GDB to print values in the Rust format. if self.config.gdb_native_rust { -- 2.30.2