Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-30531

qtc cannot find/run gdbserver on remote device.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 12.0.2
    • Debugger, Remote Linux
    • None
    • ubuntu-22.04-lts.
    • Linux/Wayland

    Description

      i have configured remote device (linux x86-64 aka gd09) for running/debugging application.

      connection to remote machine works via ssh+keys (qtc-debug-01.png), running application on remote machine via CTRL+R works too.

      when i try to debug application (F5) on remote machine qtc reports an error "No executable specified" (qtc-debug-02.png). on the remote machine custom (newer than system-wide) gdbserver is installed and availble on $PATH (qtc-debug-03.png). finally there's a weird info about gdbserver path setting (qtc-debug-04.png).

      if i set gdbserver path to /usr/bin/gdbserver then qtc runs server on local machine instead of remote and finally cannot connect.

      Attachments

        1. qtc-debug-04.png
          qtc-debug-04.png
          39 kB
        2. qtc-debug-03.png
          qtc-debug-03.png
          43 kB
        3. qtc-debug-02.png
          qtc-debug-02.png
          40 kB
        4. qtc-debug-01.png
          qtc-debug-01.png
          369 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            hjk hjk
            pawel.sikora pawel.sikora
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes