compiletest: force GDB to print values in the Rust format.
This commit is contained in:
parent
58b33ad70c
commit
d23a65077a
1 changed files with 5 additions and 0 deletions
|
|
@ -647,6 +647,11 @@ actual:\n\
|
|||
exe_file.to_str().unwrap()
|
||||
.replace(r"\", r"\\")));
|
||||
|
||||
// Force GDB to print values in the Rust format.
|
||||
if self.config.gdb_native_rust {
|
||||
script_str.push_str("set language rust\n");
|
||||
}
|
||||
|
||||
// Add line breakpoints
|
||||
for line in &breakpoint_lines {
|
||||
script_str.push_str(&format!("break '{}':{}\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue