summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2025-02-02 12:14:47 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2025-02-02 12:14:47 +0100
commitc311518b299106a39abf9de1ec92be31cc2fce3c (patch)
tree7ad1e7c495094b36b229d39cd5b8d6fab5d6de95
parentc771783e2fdc183a184a8ee6bf560d12b8223ca1 (diff)
gdb: Advise to use set directoriesHEADmaster
-rw-r--r--faq/debugging_inside_glibc.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/faq/debugging_inside_glibc.mdwn b/faq/debugging_inside_glibc.mdwn
index f3240c15..8577dce3 100644
--- a/faq/debugging_inside_glibc.mdwn
+++ b/faq/debugging_inside_glibc.mdwn
@@ -16,4 +16,4 @@ In Debian, to get [[debugging]] information for glibc, you need to install the
symbols by default (`/usr/lib/debug/.build-id`), Debian's `libc0.3-dbg` stores only
the frame unwind information used for backtracing.
-You also need to download the source code with `apt source glibc` and `cd` into it for `gdb` to be able to find and show it.
+You also need to download the source code with `apt source glibc` and `cd` into it for `gdb` to be able to find and show it, or use `set directories` inside gdb, or put it in your `.gdbinit`