Bug 1163335

Summary: [RFE] please add add-auto-load-scripts-directory command
Product: [Fedora] Fedora Reporter: Jakub Filak <jfilak>
Component: gdbAssignee: Jan Kratochvil <jan.kratochvil>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gbenson, jan.kratochvil, jberan, palves, pmuldoon, sergiodj, tromey
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gdb-7.8.1-31.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1163339 (view as bug list) Environment:
Last Closed: 2014-11-16 08:39:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1163339    

Description Jakub Filak 2014-11-12 14:21:30 UTC
Description of problem:
For some security reasons, ABRT downloads and unpacks debuginfo packages into own directory /var/cache/abrt-di and points gdb to that directory. gdb should be able to auto-load python scripts from that directory but it requires adding /var/cache/abrt-di to scripts-directory and to safe-path. The latter can be done using add-auto-load-safe-paths command which adds a path to safe-path and we need a similar command for scripts-directory, because otherwise we must use "set auto-load scripts-directory $debugdir:$datadir/auto-load:/var/cache/abrt-di" which would override the default configuration.

Thank you for considering my request.