File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -501,7 +501,7 @@ impl Step for DebuggerScripts {
501
501
fn run ( self , builder : & Builder < ' _ > ) {
502
502
let host = self . host ;
503
503
let sysroot = self . sysroot ;
504
- let dst = sysroot. join ( "lib/rustlib/etc " ) ;
504
+ let dst = sysroot. join ( "share/rust " ) ;
505
505
t ! ( fs:: create_dir_all( & dst) ) ;
506
506
let cp_debugger_script = |file : & str | {
507
507
builder. install ( & builder. src . join ( "src/etc/" ) . join ( file) , & dst, 0o644 ) ;
Original file line number Diff line number Diff line change 12
12
13
13
# Find out where the pretty printer Python module is
14
14
RUSTC_SYSROOT=" $( " $RUSTC " --print=sysroot) "
15
- GDB_PYTHON_MODULE_DIRECTORY=" $RUSTC_SYSROOT /lib/rustlib/etc "
15
+ GDB_PYTHON_MODULE_DIRECTORY=" $RUSTC_SYSROOT /share/rust "
16
16
17
17
# Run GDB with the additional arguments that load the pretty printers
18
18
# Set the environment variable `RUST_GDB` to overwrite the call to a
Original file line number Diff line number Diff line change 41
41
42
42
# Find out where the pretty printer Python module is
43
43
RUSTC_SYSROOT=" $( " $RUSTC " --print=sysroot) "
44
- GDB_PYTHON_MODULE_DIRECTORY=" $RUSTC_SYSROOT /lib/rustlib/etc "
44
+ GDB_PYTHON_MODULE_DIRECTORY=" $RUSTC_SYSROOT /share/rust "
45
45
46
46
# Set the environment variable `RUST_GDB` to overwrite the call to a
47
47
# different/specific command (defaults to `gdb`).
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"
33
+ script_import=" command script import \" $RUSTC_SYSROOT /share/rust /lldb_lookup.py\" "
34
+ commands_file=" $RUSTC_SYSROOT /share/rust /lldb_commands"
35
35
36
36
# Call LLDB with the commands added to the argument list
37
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