[Lldb-commits] Fwd: [PATCH] Correct a standalone debug file path

Ed Maste emaste at freebsd.org
Mon Nov 25 07:29:09 PST 2013

> I opened the review specifically for comment this entry.  I suspect this is just a misinterpretation of what GDB does, but I wanted confirmation that nothing in the Linux world actually expects this before I remove it.
> http://llvm-reviews.chandlerc.com/D2169

Searching for the path
"/usr/lib/debug/usr/lib/libboost_date_time.so.1.46.1" shows that it
does appear in Debian's libboost1.46-dbg package.  I suspect though
that the actual library /usr/lib/libboost_date_and_time.so.1.46.1 has
a .gnu_debuglink entry with the same name (no .debug extension), which
will still work with my change.

Contemporary GDB contains the following comment, which agrees with my

  /* Find a separate debug info file as if symbols would be present in
     PARENT_OBJFILE itself this function would not be called.  .gnu_debuglink
     section can contain just the basename of PARENT_OBJFILE without any
     ".debug" suffix as "/usr/lib/debug/path/to/file" is a separate tree where
     the separate debug infos with the same basename can exist.  */

If there's no objection I'll make the change later today.

More information about the lldb-commits mailing list