guix-commits
[Top][All Lists]
Advanced

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

11/11: news: Add entry for '--with-debug-info'.


From: guix-commits
Subject: 11/11: news: Add entry for '--with-debug-info'.
Date: Tue, 20 Oct 2020 10:32:11 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 5f92f51955d758e501d76a271a9fa4aa77ed3c0f
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Oct 20 09:59:47 2020 +0200

    news: Add entry for '--with-debug-info'.
    
    * etc/news.scm: Add entry.
---
 etc/news.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/etc/news.scm b/etc/news.scm
index f1887b6..e9c6589 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -18,6 +18,42 @@
 (channel-news
  (version 0)
 
+ (entry (commit "6aeda81602555fbeac0c0a209e74f5262093b513")
+        (title (en "New @option{--with-debug-info} package transformation 
option")
+               (fr "Nouvelle option de transformation 
@option{--with-debug-info}"))
+        (body
+         (en "The new @option{--with-debug-info} option builds a variant of a
+package that includes debug info and grafts it onto the application you want
+to debug.  Thus, only the package for which you want debug info needs to be
+recompiled.  This is useful for packages that do not already have a
+@code{debug} output.
+
+For example, here is how you would obtain debug info for the @code{glib}
+library so you can inspect it while debugging Inkscape:
+
+@example
+guix build --with-debug-info=glib inkscape
+@end example
+
+Run @command{info \"(guix) Package Transformation Options\"} for more info.")
+         (fr "La nouvelle option de transformation de paquets
+@option{--with-debug-info} compile une variante d'un paquet avec les
+informations de déboguage et la greffe sur l'application que l'on veut
+déboguer.  Ainsi seul le paquet pour lequel on demande des informations de
+déboguage a besoin d'être recompilé.  C'est utile pour les paquets n'ayant pas
+déjà un résultat @code{debug}.
+
+Voici par exemple comment obtenir des informations de déboguage pour la
+bibliothèque @code{glib} de manière à pouvoir l'inspecter quand on débuggue
+Inkscape :
+
+@example
+guix build --with-debug-info=glib inkscape
+@end example
+
+Voir @command{info \"(guix.fr) Options de transformation de paquets\"} pour
+plus de détails.")))
+
  (entry (commit "abd7a474615353149a44f4504f0b4b248dcc0716")
         (title (en "New @option{--with-c-toolchain} package transformation 
option")
                (de "Neue Paketumwandlungsoption @option{--with-c-toolchain}")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]