How to remotely debug a programm as root
Solved
Mobile and Embedded
-
Re: Remote debugging error on raspberry "can't open /dev/mem: Permission denied" (sudo..)
Hello I still have the same problem execute a programm which needs root privileges.
I use qt 5.10.1 It runs on a UBUNTU 18.04.3
It's still the same problem:Failed to open /dev/mem, try checking permissions. Failed to map the GPIO or TIMER registers into the virtual memory space.
Maybe it's helpful tu know that I use gdb-multiarch.
I think there should be any way to run it using a shell script on the remote machine or something.
Has anybody an idea?
Thanks a lot in advance