[Bug 1356907] Review Request: rust - The Rust Programming Language

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1356907



--- Comment #23 from Josh Stone <jistone@xxxxxxxxxx> ---
@tromey There's no existing path that's already in both auto-load safe-path and
python sys.path.  I do seem to need "directory" (-d) too, or else it says:

  warning: Missing auto-load script at offset 0 in section .debug_gdb_scripts

I think I figured out how to set all three automatically, by adding a new file
like /etc/gdbinit.d/rust.gdb containing:

  directory /usr/share/rust/etc
  add-auto-load-safe-path /usr/share/rust/etc
  python sys.path.append('/usr/share/rust/etc')

Does this look OK to you?


Maybe it would also be better to move this to "/usr/share/gdb/rust", so any
future "etc"-like items don't infect gdb's paths.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/package-review@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]