[Bug 2226670] Review Request: corrade - C++11 multiplatform utility library

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=2226670



--- Comment #3 from Petr Menšík <pemensik@xxxxxxxxxx> ---
It is great to have pretty printers for gdb. Have you considered placing them
into /usr/share/gdb/python/corrade instead of custom location? What way they
could be auto-loaded if devel package were present. Just "python import
corrade" might activate them. With smart auto-load named script they could be
activated just automatially when debugging corrade libraries.

I have found just matreshka-devel and gdb-exploitable provide code into it.
Others place python scripts directly into /usr/share/gdb/auto-load directories.
libstdc++ or mono-core packages provide something there, you may want to
consult how to prepare auto-loaded pretty printers with your devel package.

More information about auto-loading:
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Auto_002dloading.html#Auto_002dloading

To install files there you would still have to own those directories:

%dir %{_datadir}/gdb
%dir %{_datadir}/gdb/python/
%dir %{_datadir}/gdb/auto-load/
# Import any content from corrade folder
%{_datadir}/gdb/python/corrade/


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2226670

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202226670%23c3
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux