u-fix-debuginfo
authorRust Maintainers <pkg-rust-maintainers@lists.alioth.debian.org>
Wed, 9 Aug 2017 02:49:55 +0000 (03:49 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 9 Aug 2017 02:49:55 +0000 (03:49 +0100)
Gbp-Pq: Name u-fix-debuginfo.patch

src/tools/compiletest/src/runtest.rs

index 7fb296c19f6ed9183e758e21f6c5b0e28c0c592c..ea3e66a7c3e521477668e57c765b762a017326f6 100644 (file)
@@ -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 {