commit:     0438de13b4185b56111f444a4f67a33c05ec6b72
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 15 22:06:16 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug 15 22:27:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0438de13

sys-libs/glibc: improve USE=systemtap description

See https://sourceware.org/gdb/wiki/LinkerInterface and
https://sourceware.org/gdb/wiki/DistroAdvice#sys.2Fsdt.h_probes.

gdb makes use of the interface provided/gated by USE=systemtap and it
isn't systemtap-specific at all other than using its headers/macros.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-libs/glibc/metadata.xml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/sys-libs/glibc/metadata.xml b/sys-libs/glibc/metadata.xml
index 6978f9425efe..f4f01a67edd9 100644
--- a/sys-libs/glibc/metadata.xml
+++ b/sys-libs/glibc/metadata.xml
@@ -23,7 +23,13 @@
                <flag name="stack-realign">Realign the stack in the 32-bit 
build for compatibility with older binaries at some performance cost</flag>
                <flag name="static-pie">Enable static PIE support (runtime 
files for -static-pie gcc option).</flag>
                <flag name="suid">Make internal pt_chown helper setuid -- not 
needed if using Linux and have /dev/pts mounted with gid=5</flag>
-               <flag name="systemtap">enable systemtap static probe 
points</flag>
+               <flag name="systemtap">
+                       Enable enhanced debugging hooks/interface via SystemTap 
static probe points.
+
+                       Note that this isn't exclusive to SystemTap, despite 
the name. This provides
+                       an interface which <pkg>dev-debug/gdb</pkg> optionally 
uses, see
+                       https://sourceware.org/gdb/wiki/LinkerInterface.
+               </flag>
        </use>
        <upstream>
                <remote-id type="cpe">cpe:/a:gnu:glibc</remote-id>

Reply via email to