[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 #21 from Tom Tromey <tom@xxxxxxxxxx> ---
I looked briefly at the spec file.

I'd like to reiterate my desire for rust-gdb to "go away".
In an integrated system like Fedora, it isn't necessary.
The core of it looks like:

PYTHONPATH="$PYTHONPATH:$GDB_PYTHON_MODULE_DIRECTORY" gdb \
  -d "$GDB_PYTHON_MODULE_DIRECTORY" \
  -iex "add-auto-load-safe-path $GDB_PYTHON_MODULE_DIRECTORY" \
  "$@"


Here I think each part can be better done through system integration:

* PYTHONPATH is better handled by putting the rust/gdb python code
  into a directory where gdb and/or python already looks
* -d doesn't seem to be needed at all
* -iex isn't needed if the chosen directory is already safe according
  to gdb

Perhaps some minor patch to gdb would be appropriate here.
In this setup the rust-gdb package could still exist (maybe just
to avoid having rust depend on gdb); and even rust-gdb could still
exist, but just as a symlink to gdb.

-- 
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]