gdbgui icon indicating copy to clipboard operation
gdbgui copied to clipboard

Symbols for the gio command

Open spflanze opened this issue 2 years ago • 0 comments

I am attempting to step through the gio command source code in Ubuntu 22.04 to find out why the command: /usr/bin/gio set "/home/stephen/Desktop/Flameshot.desktop" metadata::trusted yes" fails to set the "Flameshot.desktop" launcher to trusted as expected.

I downloaded the symbol files from these sources:

https://launchpad.net/ubuntu/+archive/primary/+files/libglib2.0-bin-dbgsym_2.72.4-0ubuntu1_amd64.ddeb
https://launchpad.net/ubuntu/+archive/primary/+files/libglib2.0-0-dbgsym_2.72.4-0ubuntu1_amd64.ddeb

I installed them by right clicking these files and selecting "Open software install". Nevertheless, in gdbgui I get the error message:

    root
           Either no executable is loaded or the executable was compiled without debug symbols.

In the "Load Binary" field I have: /usr/bin/gio set /home/stephen/Desktop/Flameshot.desktop metadata::trusted yes I have verified this is the correct command, and argument.

Where has my effort at stepping through the gio code gone wrong?

Did installing the two .ddeb files install only the symbols? Or did in install a version of the gio command that does have symbols? If it did where would I find this command that has symbols?

spflanze avatar May 08 '23 06:05 spflanze