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

BM: Add a new concept to launch of remote GDB servers

XMLWordPrintable

      Currently it is inconvenient to specify parameters of the remote GDB server for debugging of the BareMetal device. These parameters are restricted to the host/port fields for the BareMetal device. Besides, we need to startup of remote server manually before debugging (in common use-case).

      It seems, it would be good to add to BareMetal plug-in the new features to manage of custom GDB servers. In this case the user can create some configurations of remote GDB servers and to choose (switch between) any of them to the debugging purpose. Besides, the configurations can automatically start/stop/re-configure of the GDB servers before debugging.

      So, a user can choose any of three startup modes:

      • NoStartup - just connect to remote GDB server
      • StartupOnNetwork - start GDB server in TCP/IP mode and connect to.
      • StartupOnPipe - start GDB server in Pipelining mode and connect to.

      Note: Not all of modes can be supported by a concrete GDB server!

      Currently are implemented the following hardware GDB servers:

      • OpenOCD - support all modes
      • STLink-Util - support NoStartup and StartupOnNetwork only
      • Default - just allows connect to remote server.

      Implementation of this concept in here: https://codereview.qt-project.org/102047

      Also attached screenshots.

        1. add.png
          add.png
          28 kB
        2. default.png
          default.png
          27 kB
        3. device.png
          device.png
          31 kB
        4. openocd-default.png
          openocd-default.png
          29 kB
        5. openocd-pipe.png
          openocd-pipe.png
          31 kB
        6. openocd-tcpip.png
          openocd-tcpip.png
          32 kB
        7. stutil-tcpip.png
          stutil-tcpip.png
          30 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            kuzulis Denis Shienkov
            kuzulis Denis Shienkov
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes