debuginfod-dc24/debuginfod-dc24.org

51 lines
1.7 KiB
Org Mode
Raw Permalink Normal View History

2024-07-21 19:58:26 +00:00
#+OPTIONS: toc:nil date:nil ':t
#+TITLE: A plan to support source code indexing on debuginfod.d.n
#+Author: Sergio Durigan Junior @@latex:\\@@ sergiodj@debian.org
#+LANGUAGE: en
#+BEAMER_THEME: Rochester
#+LaTeX_HEADER: \hypersetup{colorlinks=true,urlcolor=blue}
#+LaTeX_HEADER: \lstset{basicstyle=\footnotesize\ttfamily}
* What is =debuginfod=?
- Started by Red Hat in 2019.
- It @@latex:\emph{@@"is a client/server [...] that automatically
distributes =ELF= / =DWARF= / source-code from servers to clients
such as debuggers across HTTP"@@latex:}@@.
- The goal is to replace the need for =.ddeb= files (but it can do
more than that).
* How does it work?
- There's a =debuginfod= server (e.g., at
https://debuginfod.debian.net) that indexes all available debug
information from supported Debian releases.
#+BEAMER: \pause
- Debugger-like tools (e.g., =GDB=) link against =libdebuginfod=,
which provides the client support.
#+BEAMER: \pause
- When the tool needs a certain debuginfo, it will contact the
=debuginfod= server (specified via the =DEBUGINFOD_URLS= shell
variable) and put a request for the debuginfo's =Build-ID=.
#+BEAMER: \pause
- If found, the server will then transmit the information over HTTP(S)
to the client.
* How do I use it?
:PROPERTIES:
:BEAMER_OPT: fragile
:END:
- You can configure your system by doing:
#+ATTR_LATEX: :options frame=single
#+begin_src bash
export DEBUGINFOD_URLS="https://debuginfod.debian.net"
#+end_src
* Demo
- Fasten your seat belts, please.
* More information
- https://wiki.debian.org/Debuginfod
- https://sourceware.org/elfutils/Debuginfod.html
- =sergiodj= @ =OFTC=
- @@latex:\href{mailto:sergiodj@debian.org}{sergiodj@debian.org}@@