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 symtab/10542] New: 'set debug-file-directory' has no effect


I'm cross-debugging a remote target over a TCP-connection.
The executable to debug has a separated debug information file on the debug host.
The build-id method is used to link the executable to its debug info.
I'm trying to point gdb to the installation directory of the debug info files with
  set debug-file-directoy /path/to/debugfiles

This setting doesn't seem to have any effect (other than on "show debug-file-directory").

By starting the cross-gdb under strace, I can see that gdb searches the debugfiles at
/opt/crosstool/lib/debug (it was configured with --prefix=/opt/crosstool).
When I provide a symbolic link at that place, all the debuginfo files are found correctly.

So it seems that gdb is ignoring the debug-file-directory setting in my case.

-- 
           Summary: 'set debug-file-directory' has no effect
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: symtab
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: gdb+kisch at sesamstrasse dot dyndns dot tv
                CC: gdb-prs at sourceware dot org
 GCC build triplet: i686-pc-linux
  GCC host triplet: i686-pc-linux
GCC target triplet: powerpc-any-linux


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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