File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -647,6 +647,7 @@ impl Step for DebuggerScripts {
647
647
648
648
cp_debugger_script ( "lldb_lookup.py" ) ;
649
649
cp_debugger_script ( "lldb_providers.py" ) ;
650
+ cp_debugger_script ( "lldb_commands" )
650
651
}
651
652
}
652
653
}
Original file line number Diff line number Diff line change 1
- command script import \"$RUSTC_SYSROOT/lib/rustlib/etc/lldb_lookup.py\"
2
1
type synthetic add -l lldb_lookup.synthetic_lookup -x \".*\" --category Rust
3
2
type summary add -F lldb_lookup.summary_lookup -e -x -h \"^(alloc::([a-z_]+::)+)String$\" --category Rust
4
3
type summary add -F lldb_lookup.summary_lookup -e -x -h \"^&str$\" --category Rust
Original file line number Diff line number Diff line change 30
30
fi
31
31
fi
32
32
33
+ script_import=" command script import \" $RUSTC_SYSROOT /lib/rustlib/etc/lldb_lookup.py\" "
34
+ commands_file=" $RUSTC_SYSROOT /lib/rustlib/etc/lldb_commands"
35
+
33
36
# Call LLDB with the commands added to the argument list
34
- exec " $lldb " --source-before-file ./lldb_commands " $@ "
37
+ exec " $lldb " --one-line-before-file " $script_import " -- source-before-file " $commands_file " " $@ "
You can’t perform that action at this time.
0 commit comments