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
          28 kB
          Denis Shienkov
        2. default.png
          27 kB
          Denis Shienkov
        3. device.png
          31 kB
          Denis Shienkov
        4. openocd-default.png
          29 kB
          Denis Shienkov
        5. openocd-pipe.png
          31 kB
          Denis Shienkov
        6. openocd-tcpip.png
          32 kB
          Denis Shienkov
        7. stutil-tcpip.png
          30 kB
          Denis Shienkov
        For Gerrit Dashboard: QTCREATORBUG-13686
        # Subject Branch Project Status CR V

            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