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

Qt Creator 4.5+ cannot add custom executable for GDB Server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 4.7.0
    • Qt Creator 4.5.0, Qt Creator 4.5.1
    • Debugger
    • None
    • Ubuntu 16.04

      arm-none-eabi-gdb --version
      GNU gdb (7.10-1ubuntu3+9) 7.10

      QtCreator 3.5.1, 4.5.0, 4.5.1

      Open On-Chip Debugger 0.10.0

      Qt Creator cannot add a (working) new run configuration for Gdb server. It creates a configuration but not as a GDBServer one and upon run, attempts to run the .elf image instead of passing it to GDB Server. (see image 1 and 2)

       

      To work around this I have to start Qt Creator 3.5 and add the GDB Server configuration from there. (see image 3)

       

      Then close the 3.5 and open the 4.5 and the run configuration is there and works fine. (see image 4)

       

      So QtCreator 3.5.1 can add Gdb run configuration fine but 4.5 cannot.

      OpenOCD, BareMetal Device, gdb, argm-gcc all are set.

        1. 1.png
          1.png
          50 kB
        2. 2.png
          2.png
          35 kB
        3. 3.png
          3.png
          38 kB
        4. 4.png
          4.png
          38 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            hjk hjk
            ksiour kostas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes