From 647eefe81ac00c4a41350a93d6330a10fc0a7153 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 15 Dec 2023 10:43:12 -0500 Subject: [PATCH] Update getting_debugging_symbols.rst Confirmed elfutils/debuginfod code working fine for userspace drgn -p $pid type work. --- docs/getting_debugging_symbols.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/getting_debugging_symbols.rst b/docs/getting_debugging_symbols.rst index efea9a16d..b20471714 100644 --- a/docs/getting_debugging_symbols.rst +++ b/docs/getting_debugging_symbols.rst @@ -14,6 +14,13 @@ distributions. If drgn prints an error like:: Then you need to install debugging symbols. +On the other hand, because drgn is based on the elfutils library, and elfutils +can use the debuginfod protocol to automatically fetch debuginfo, on many +distros the $DEBUGINFOD_URLS environment variable is set, and the preceding +message will not appear, and following steps may be unnecessary. See +https://sourceware.org/elfutils/Debuginfod.html for details. + + Fedora ------