Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to remotely debug a programm as root
Forum Updated to NodeBB v4.3 + New Features

How to remotely debug a programm as root

Scheduled Pinned Locked Moved Solved Mobile and Embedded
2 Posts 1 Posters 282 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K-StrK Offline
    K-StrK Offline
    K-Str
    wrote on last edited by K-Str
    #1

    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

    1 Reply Last reply
    0
    • K-StrK Offline
      K-StrK Offline
      K-Str
      wrote on last edited by
      #2

      You can solv this when you login as user root on the device.

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved