#3048: libstdc++.so.6.0.14-gdb.py installed in the wrong place
-----------------------------------------+----------------------------------
 Reporter:  bdubbs@…                     |        Owner:  bdubbs@…              
     
     Type:  enhancement                  |       Status:  closed                
     
 Priority:  normal                       |    Milestone:  7.2                   
     
Component:  Book                         |      Version:  SVN                   
     
 Severity:  normal                       |   Resolution:  fixed                 
     
 Keywords:                               |  
-----------------------------------------+----------------------------------
Changes (by bdubbs@…):

  * status:  reopened => closed
  * resolution:  => fixed


Comment:

 Looking at http://sourceware.org/gdb/current/onlinedocs/gdb
 /objfile_002dgdb_002epy-file.html#objfile_002dgdb_002epy-file
 Where the standard gdb install has:

 {{{
 (gdb) show data-directory
 GDB's data directory is "/usr/share/gdb".
 (gdb) show debug-file-directory
 The directory where separate debug symbols are searched for is
 "/usr/lib/debug".
 }}}

 So it should be looking in:

 {{{
 /usr/$LIB/debug/libstdc++.so.6.0.16-gdb.py
 /usr/share/gdb/auto-load/usr/$LIB/libstdc++.so.6.0.16-gdb.py
 }}}

 where LIB is lib or lib64 according to architecture.  Of course, we have
 /usr/lib64 symlinked to /usr/lib.

 So we could just do:
 {{{
 mkdir -p /usr/lib/debug
 mv -v /usr/lib/*.py /usr/lib/debug
 }}}

 However I just changed the path in the case statement.
 Fixed in revision 9805.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/3048#comment:9>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to