Hello, this is a basic question.
I have a program that builds with a cross-compiler and copies to the target and executes.
Before this was working fine and without issues,
Recently, during the execution stage, VisualGDB started giving me errors:
Process /home/root/Demo created; pid = 965
Cannot exec /home/root/Demo: Permission denied.
Child exited with status 127
No program to debug. GDBserver exiting.
I found that I can resolve the program by typing chmod +x /home/root/Demo
I believe VisualGDB was doing this initially for me, but for some reason it had stopped.
Is there an option to re-enable this setting? I haven’t changed any settings myself since the program stopped executing
I know there are VisualGDB startup commands, and I tied putting chmod +x /home/root/Demo into both the BEFORE and AFTER additional commands, but this did not work and I was getting the same error. I never had to do this before either.
-
This topic was modified 8 years, 8 months ago by dmitryponv.