File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 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 {
647647
648648 cp_debugger_script ( "lldb_lookup.py" ) ;
649649 cp_debugger_script ( "lldb_providers.py" ) ;
650+ cp_debugger_script ( "lldb_commands" )
650651 }
651652 }
652653}
Original file line number Diff line number Diff line change 1- command script import \"$RUSTC_SYSROOT/lib/rustlib/etc/lldb_lookup.py\"
21type synthetic add -l lldb_lookup.synthetic_lookup -x \".*\" --category Rust
32type summary add -F lldb_lookup.summary_lookup -e -x -h \"^(alloc::([a-z_]+::)+)String$\" --category Rust
43type summary add -F lldb_lookup.summary_lookup -e -x -h \"^&str$\" --category Rust
Original file line number Diff line number Diff line change 3030 fi
3131fi
3232
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+
3336# 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