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

The Jlink GDB command is invalid

XMLWordPrintable

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

      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"}

      ;
      }

       

       

       

       

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

            meron meron gemeda
            lvjun 俊 吕
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes