all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Olivier Dion via <help-guix@gnu.org>
To: help-guix@gnu.org
Subject: Re: Unable to find libthread_db
Date: Thu, 01 Sep 2022 11:29:26 -0400	[thread overview]
Message-ID: <87fshb3yg9.fsf@laura> (raw)
In-Reply-To: <87tu5roq3f.fsf@laura>

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


      reply	other threads:[~2022-09-01 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-01  1:12 Unable to find libthread_db Olivier Dion via
2022-09-01 15:29 ` Olivier Dion via [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fshb3yg9.fsf@laura \
    --to=help-guix@gnu.org \
    --cc=olivier.dion@polymtl.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.