On 10/04/2014 10:50 PM, Pierre Labastie wrote: > Le 04/10/2014 19:11, Bruce Dubbs a écrit : >> Pierre Labastie wrote: >>> Hi, >>> >>> Guile install the libguile-2.0.so.22.7.2-gdb.scm file into /usr/lib. >>> Since it is not an elf library, it gives a warning when running ldconfig. >>> Also, I am not sure it may be found by gdb: reading the gdb documentation, I >>> would be inclined to move that file to /usr/share/gdb/auto-load. But I see >>> that the file libstdc++.so.6.0.20-gdb.py is (manually) moved to >>> /usr/share/gdb/auto-load/usr/lib, after building gcc. So I am not sure >>> whether >>> that should not be the same for libguile-2.0.so.22.7.2-gdb.scm... >>> What I am sure about is that files libglib-2.0.so.0.4200.0-gdb.py and >>> libgobject-2.0.so.0.4200.0-gdb.py are installed (automatically when the >>> respective packages are built) to /usr/share/gdb/auto-load. >>> >>> Does somebody know more about this? >> >> I've seen this too. IIRC think I just deleted it. >> >> Looking at the Makefile.am, they put it in >> $(DESTDIR)$(libdir)/$$libname-gdb.scm", but I think that is a mistake. >> >> We could use a sed to change libguile/Makefile.in, but it would be just as >> clear to move it explicitly after install. >> >> -- Bruce > The point is more "where to put that file" (if we want to use it with gdb), > rather than how to move it. I do not know how to test whether gdb finds it. > I guess I need a test guile program. > > Pierre >
Same path where libstdc++ .py file goes - /usr/share/gdb/auto-load/usr/lib gdb-7.8 has guile support - but it's kinda broken. I had to explicitly disable it for debugging even non-guile stuff. -- Note: My last name is not Krejzi.
signature.asc
Description: OpenPGP digital signature
-- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
