Score:0

debuginfod not working

cn flag

My attempt to make debuginfod work in gdb failed.

I followed the directions at: https://ubuntu.com/server/docs/service-debuginfod

In accordance with those instructions executed the command:

export DEBUGINFOD_URLS="https://debuginfod.ubuntu.com"

I added the line:

set debuginfod enabled on

to the file: .gdbinit . This file's contents:

python 
import sys

sys.path.append('/home/stephen/.config/Epic/GDBPrinters/')

from UE4Printers import register_ue4_printers
register_ue4_printers(None)
print("Registered pretty printers for UE4 classes")

end

set debuginfod enabled on

I invoked gdb with this command:

gdb --args /usr/bin/gio set "/home/stephen/Desktop/Flameshot.desktop" metadata::trusted yes

The result is this output:

Reading symbols from /usr/bin/gio...
(No debugging symbols found in /usr/bin/gio)

I need to step through the gio command because of this issue that no one has an answer for that I have described in these threads of mine:

https://answers.launchpad.net/ubuntu/+question/705063

How to set a launcher as trusted?

https://ubuntuforums.org/showthread.php?t=2478951&p=14111599#post14111599

My OS is Ubuntu 22.04 jammy. My file system is zFS on RAID 1 Mirror, and encrypted.

hr flag
Simply running `export DEBUGINFOD_URLS="https://debuginfod.ubuntu.com"` in the terminal session before invoking gdb appears to work for me, on a 22.04 Lubuntu VM with the default gdb 12.1. However I'm not sure how useful this approach is going to be since as the page you linked notes *"Currently, the service only provides DWARF information. There are plans to make it also index and serve source-code in the future."*
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.