-
Notifications
You must be signed in to change notification settings - Fork 10
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
[CDT] gdbserver not found #36 #45
Conversation
Started test build 52803 |
Build 52803 successful
|
952762a
to
739c4b8
Compare
Started test build 52806 |
Build 52806 failed |
739c4b8
to
c7fceca
Compare
Started test build 52807 |
Build 52807 successful
|
c7fceca
to
7bb4337
Compare
Started test build 52808 |
Build 52808 successful
|
With build https://flathub.org/builds/#/builders/32/builds/52808 it's possible to start gdbserver (in order to debug a C/C++ app), but but it looks like CDT is still not allowed to communicate with the server. |
7bb4337
to
c70a030
Compare
Started test build 53062 |
Build 53062 successful
|
A host `/usr/bin` folder mounted to `/var/run/host/usr/bin` is added to the `$PATH` in order to enable access to the programs installed on the host and not existing on the sandbox, for example, such as `gdbserver`. PATH is set to include '/var/run/host/usr/bin/' 'gdbinit' and 'gdbinit.d' are mounted to '/etc' to be accessed by gdb Host's '/etc/hosts' and '/etc/services' are mounted to '/etc' to be accessed by gdb '--device=all" permission is added to allow access to devices like /dev/pts/* from sandbox Issue: flathub#36 Signed-off-by: Victor Rubezhny <[email protected]>
c70a030
to
b4dfe5e
Compare
Started test build 55367 |
Build 55367 failed |
Closing this PR as the issue is fixed with the following CDT fixes:
No additional changes required org.eclipse.Java project |
A host
/usr/bin
folder mounted to/var/run/host/usr/bin
is added to the$PATH
in order to enable access to the programs installed on the host and not existing on the sandbox, for example, such as
gdbserver
Issue: #36
Signed-off-by: Victor Rubezhny [email protected]