Article 4W83D GDB remote debug "permission denied" when trying to remotely debug program

GDB remote debug "permission denied" when trying to remotely debug program

by
jguo5258
from LinuxQuestions.org on (#4W83D)
I am trying to remotely run and debug a very simple test program using gdbserver and gdb-multiarch. On the Raspberry Pi, I start gdbserver with

Code:sudo gdbserver --multiI then start sudo gdb-multiarch and extend the target to the raspberry pi. When I try to run the program remotely, I get the error "permission denied" on the raspberry pi. The program exits with error code 127. Why is the permission denied, even when I start gdbserver and remote gdb with root? How do I fix this?latest?d=yIl2AUoC8zA latest?i=vuoTwdi57lY:RciO6ewBW70:F7zBnMy latest?i=vuoTwdi57lY:RciO6ewBW70:V_sGLiP latest?d=qj6IDK7rITs latest?i=vuoTwdi57lY:RciO6ewBW70:gIN9vFwvuoTwdi57lY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments