[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to find libthread_db
From: |
Olivier Dion |
Subject: |
Re: Unable to find libthread_db |
Date: |
Thu, 01 Sep 2022 11:29:26 -0400 |
On Wed, 31 Aug 2022, Olivier Dion via <help-guix@gnu.org> wrote:
> Hi,
>
> While debugging with GDB, I always have the following warning:
>
> > warning: Unable to find libthread_db matching inferior's thread
> > library,thread debugging will not be available.
I've tried to add the following to .gdbinit:
--8<---------------cut here---------------start------------->8---
guile
(use-modules
(gdb)
(srfi srfi-26))
(let ((libthread-db (and=> (getenv "GUIX_ENVIRONMENT") (cut string-append <>
"/lib"))))
(when (and=> libthread-db file-exists?)
(execute (string-append "set libthread-db-search-path " libthread-db))))
end
--8<---------------cut here---------------end--------------->8---
without much success.
--
Olivier Dion
oldiob.dev
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Unable to find libthread_db,
Olivier Dion <=