cs01 / cs01/gdbgui

Symbols for the gio command

Open
#461 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
521
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.