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 @@ -479,7 +479,7 @@ impl Step for DebuggerScripts {
479479 fn run ( self , builder : & Builder < ' _ > ) {
480480 let host = self . host ;
481481 let sysroot = self . sysroot ;
482- let dst = sysroot. join ( "lib/rustlib/etc " ) ;
482+ let dst = sysroot. join ( "share/rust " ) ;
483483 t ! ( fs:: create_dir_all( & dst) ) ;
484484 let cp_debugger_script = |file : & str | {
485485 builder. install ( & builder. src . join ( "src/etc/" ) . join ( file) , & dst, 0o644 ) ;
Original file line number Diff line number Diff line change 1212
1313# Find out where the pretty printer Python module is
1414RUSTC_SYSROOT=" $( " $RUSTC " --print=sysroot) "
15- GDB_PYTHON_MODULE_DIRECTORY=" $RUSTC_SYSROOT /lib/rustlib/etc "
15+ GDB_PYTHON_MODULE_DIRECTORY=" $RUSTC_SYSROOT /share/rust "
1616
1717# Run GDB with the additional arguments that load the pretty printers
1818# Set the environment variable `RUST_GDB` to overwrite the call to a
Original file line number Diff line number Diff line change 4141
4242# Find out where the pretty printer Python module is
4343RUSTC_SYSROOT=" $( " $RUSTC " --print=sysroot) "
44- GDB_PYTHON_MODULE_DIRECTORY=" $RUSTC_SYSROOT /lib/rustlib/etc "
44+ GDB_PYTHON_MODULE_DIRECTORY=" $RUSTC_SYSROOT /share/rust "
4545
4646# Set the environment variable `RUST_GDB` to overwrite the call to a
4747# different/specific command (defaults to `gdb`).
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"
33+ script_import=" command script import \" $RUSTC_SYSROOT /share/rust /lldb_lookup.py\" "
34+ commands_file=" $RUSTC_SYSROOT /share/rust /lldb_commands"
3535
3636# Call LLDB with the commands added to the argument list
3737exec " $lldb " --one-line-before-file " $script_import " --source-before-file " $commands_file " " $@ "
You can’t perform that action at this time.
0 commit comments