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

The Jlink GDB command is invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 13.0.2
    • MCU Support
    • None
    • Other

    Description

      The default Jlink GDB command (monitor reset halt) is invalid if it is written in one line. It needs to be written in two lines.

      Write it like this

      monitor halt
      monitor reset

       

      qt-creator-13.0.2\src\plugins\baremetal\debugservers\gdb

      QString JLinkGdbServerProvider::defaultInitCommands()
      {
          return

      {"set remote hardware-breakpoint-limit 6\n"             "set remote hardware-watchpoint-limit 4\n"             "monitor halt\n"             "monitor reset\n"             "load\n"             "monitor halt \n"             "monitor reset\n"}

      ;
      }

      QString JLinkGdbServerProvider::defaultResetCommands()
      {
          return

      {"monitor halt\n"             "monitor reset\n"}

      ;
      }

       

       

       

       

      Attachments

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

        Activity

          People

            ylopes Yoann Lopes
            lvjun 俊 吕
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes