From d1494bcf874918ce4c63e53574488c90ce4df9c3 Mon Sep 17 00:00:00 2001 From: Rust Maintainers Date: Sun, 15 Oct 2017 20:31:03 +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 01419c4257..07a616a39a 100644 --- a/src/tools/compiletest/src/runtest.rs +++ b/src/tools/compiletest/src/runtest.rs @@ -646,6 +646,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