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

QtCreator 6.0.2 (Linux Jan 18 2022) doesn't recognize any QNX7.1 debugger

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 7.0.0-rc1
    • Qt Creator 6.0.2
    • Debugger
    • None
    • QNX

    Description

      In the QNX7.1 SDP there are several cross debuggers to choose from.  My platform is armv7 so I looked at multiple possibilities which ultimately boiled down to one file that wasn't a symbolic link that made sense:

      rich@oasis:~/Projects/build-module-example-QNXArm-Debug$ ls -al ~/qnx710/host/linux/x86_64/usr/bin/*gdb*
      lrwxrwxrwx 1 rich rich 38 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-gdb -> aarch64-unknown-nto-qnx7.1.0-gdb-8.2.1
      -rwxr-xr-x 1 rich rich 20311736 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/aarch64-unknown-nto-qnx7.1.0-gdb-8.2.1
      lrwxrwxrwx 1 rich rich 38 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/arm-unknown-nto-qnx7.1.0eabi-gdb -> arm-unknown-nto-qnx7.1.0eabi-gdb-8.2.1
      -rwxr-xr-x 1 rich rich 19706896 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/arm-unknown-nto-qnx7.1.0eabi-gdb-8.2.1
      lrwxrwxrwx 1 rich rich 38 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/ntoaarch64-gdb -> aarch64-unknown-nto-qnx7.1.0-gdb-8.2.1
      lrwxrwxrwx 1 rich rich 38 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/ntoaarch64-gdb-8.2.1 -> aarch64-unknown-nto-qnx7.1.0-gdb-8.2.1
      lrwxrwxrwx 1 rich rich 38 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/ntoarmv7-gdb -> arm-unknown-nto-qnx7.1.0eabi-gdb-8.2.1
      lrwxrwxrwx 1 rich rich 38 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/ntoarmv7-gdb-8.2.1 -> arm-unknown-nto-qnx7.1.0eabi-gdb-8.2.1
      lrwxrwxrwx 1 rich rich 32 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/ntox86_64-gdb -> x86_64-pc-nto-qnx7.1.0-gdb-8.2.1
      lrwxrwxrwx 1 rich rich 32 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/ntox86_64-gdb-8.2.1 -> x86_64-pc-nto-qnx7.1.0-gdb-8.2.1
      lrwxrwxrwx 1 rich rich 32 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-gdb -> x86_64-pc-nto-qnx7.1.0-gdb-8.2.1
      -rwxr-xr-x 1 rich rich 20658384 Oct 27 15:10 /home/rich/qnx710/host/linux/x86_64/usr/bin/x86_64-pc-nto-qnx7.1.0-gdb-8.2.1
      rich@oasis:~/Projects/build-module-example-QNXArm-Debug$ file /home/rich/qnx710/host/linux/x86_64/usr/bin/ntoarmv7-gdb-8.2.1
      /home/rich/qnx710/host/linux/x86_64/usr/bin/ntoarmv7-gdb-8.2.1: symbolic link to arm-unknown-nto-qnx7.1.0eabi-gdb-8.2.1
      rich@oasis:~/Projects/build-module-example-QNXArm-Debug$ file /home/rich/qnx710/host/linux/x86_64/usr/bin/arm-unknown-nto-qnx7.1.0eabi-gdb-8.2.1
      /home/rich/qnx710/host/linux/x86_64/usr/bin/arm-unknown-nto-qnx7.1.0eabi-gdb-8.2.1: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 4.4.162, with debug_info, not stripped

      Plugging this in to my kit->debugger and QtCreator claims it is unrecognized.  

      Attachments

        1. Capture.PNG
          Capture.PNG
          46 kB
        2. image-2022-02-14-11-24-58-495.png
          image-2022-02-14-11-24-58-495.png
          29 kB
        3. image-2022-02-14-11-25-01-847.png
          image-2022-02-14-11-25-01-847.png
          29 kB
        4. prompt.py
          2 kB
        5. prompt2.py
          4 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              rafaelroquetto Rafael Roquetto
              rhvonlehe Richard von Lehe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes