This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/15092] auto load safe directory is not set correctly inconfigure file


http://sourceware.org/bugzilla/show_bug.cgi?id=15092

Jan Kratochvil <jan.kratochvil at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2013-02-01 13:00:33 UTC ---
GDB Manual:
Any used string `$debugdir' will get replaced by DEBUG-FILE-DIRECTORY value
(*note Separate Debug Files::)
[...]
   Global debugging info directories default to what is set by GDB
configure option `--with-separate-debug-dir'.  During GDB run you can
also set the global debugging info directories, and view the list GDB
is currently using.

`set debug-file-directory DIRECTORIES'
     Set the directories which GDB searches for separate debugging
     information files to DIRECTORY.  Multiple path components can be
     set concatenating them by a path separator.

(In reply to comment #3)
> Hi jan,
> we are setting the auto-load directory with $debugdir

How do you set it?  By `set debug-file-directory DIRECTORIES' or by
--with-separate-debug-dir=DIR?

> But  $debugdir has nothing value

How do you display the $debugdir value?

(gdb) show debug-file-directory 
The directory where separate debug symbols are searched for is
"/usr/lib/debug".


> So auto-load safe-path does not set to the debug directory
> So we should change the name

Which name should be changed?  It just works as it is configured on Fedora.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]