From c311518b299106a39abf9de1ec92be31cc2fce3c Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 2 Feb 2025 12:14:47 +0100 Subject: gdb: Advise to use set directories --- faq/debugging_inside_glibc.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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` -- cgit v1.2.3