Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symbols for the gio command #461

Open
spflanze opened this issue May 8, 2023 · 0 comments
Open

Symbols for the gio command #461

spflanze opened this issue May 8, 2023 · 0 comments

Comments

@spflanze
Copy link

spflanze commented May 8, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant