FS#29728 - [gcc] libstdc++.so.6.0.17-gdb.py is installed in the wrong directory
Attached to Project:
Arch Linux
Opened by Rodrigo Rivas Costa (rodrigorc) - Thursday, 03 May 2012, 16:20 GMT
Last edited by Allan McRae (Allan) - Monday, 07 May 2012, 06:37 GMT
Opened by Rodrigo Rivas Costa (rodrigorc) - Thursday, 03 May 2012, 16:20 GMT
Last edited by Allan McRae (Allan) - Monday, 07 May 2012, 06:37 GMT
|
Details
Description:
The Python gdb script libstdc++.so.6.0.17-gdb.py is installed in the directory /usr/share/gdb/auto-load/ but gdb searches for it in /usr/share/gdb/auto-load/usr/lib/. The same is true for a number of other scripts in other packages, such as: * libisl.so.9.0.0-gdb.py by [isl] * libglib-2.0.so.0.3200.1-gdb.py, libgobject-2.0.so.0.3200.1-gdb.py by [glib2] Additional info: * gcc 4.7.0-5 * isl 0.09-1 * glib2 2.32.1-3 Steps to reproduce: * Compile a C++ program with `-O0 -g` * Debug it with gdb. The script is not used. * You can check where the script is being searched using: $ strace -o /tmp/tr.txt gdb ./a.out (gdb) run (gdb) exit $ grep "libstdc++.so.6.0.17-gdb.py" /tmp/tr.txt |
This task depends upon
Closed by Allan McRae (Allan)
Monday, 07 May 2012, 06:37 GMT
Reason for closing: Fixed
Additional comments about closing: gcc-4.7.0-6
Monday, 07 May 2012, 06:37 GMT
Reason for closing: Fixed
Additional comments about closing: gcc-4.7.0-6
+1 for doing the debug packages. Recompiling them by hand just for that are a PITA. I'm willing to volunteer, if anybody is can direct me a bit, as I'm still new in Arch.