From 5f92f51955d758e501d76a271a9fa4aa77ed3c0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Tue, 20 Oct 2020 09:59:47 +0200 Subject: 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 f1887b60c3..e9c6589108 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}") -- cgit v1.2.3