*-gdb.py files are misplaced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello.

I am debugging a C++ program with GDB and I want to use the nice Python
scripts for pretty-printing the STL types. But, alas, it does not work.

This script is installed in "/usr/share/gdb/auto-load/libstdc++.
so.6.0.17-gdb.py"  to handle the pretty printing of STL types.
But the fact is that GDB does not load it. Doing a quick "strace gdb
./a.out" I find that it looks for the file in:

/usr/share/gdb/auto-load/usr/lib/libstdc++.so.6.0.17-gdb.py

Note the "usr/lib/" into the "auto-load" directory. (BTW, the GDB
documentation seem to say that it should read it from yet another
directory.)

Right now I patched it by creating a few symbolic links into the
"auto-load" directory.

I'd like to file a bug report, but I'm new to Arch Linux, so I'm asking for
advice:

Should I file a bug report for each of the packages that install a file in
this directory? Also, I think that some of them may come this way from
upstream, but
Currently, I've detected the following packages that install files there:
glib2, isl and gcc

Or should I file a bug into GDB itself?

Thank you in advance.
--
Rodrigo


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux