This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug mi/24347] New: Multiple mi result records for same command


https://sourceware.org/bugzilla/show_bug.cgi?id=24347

            Bug ID: 24347
           Summary: Multiple mi result records for same command
           Product: gdb
           Version: 8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: mi
          Assignee: unassigned at sourceware dot org
          Reporter: anders at janssonsoftware dot se
  Target Milestone: ---

Hi,

Tested with: GNU gdb (GNU Tools for Arm Embedded Processors 7-2018-q2-update)
8.1.0.20180315-git

Is it allowed for the MI interpreter to send 2 result records for the same
command? The following output is from an Eclipse/CDT-frontend running the above
gdb instance with "--interpreter mi" as parameter. The instance connects to an
RSP/JTAG stub over TCP. 


522,256 40-exec-continue
522,267 40^running
522,267 *running,thread-id="all"
522,267 (gdb) 
522,267 ~"Note: automatically using hardware breakpoints for read-only
addresses.\n"
522,284 &"Warning:\n"
522,285 &"Cannot insert hardware breakpoint 5.\n"
522,285 &"Cannot insert hardware breakpoint 10.\n"
522,285 &"Cannot insert hardware breakpoint 2.\n"
522,285 &"Cannot insert hardware breakpoint 9.\n"
522,285 &"Could not insert hardware breakpoints:\n"
522,285 &"You may have requested too many hardware breakpoints/watchpoints.\n"
522,286 &"\n"
522,286 40^error,msg="Command aborted."

GDB seems to report "40^running" regardless of the success/failure of the
command.


"GNU gdb (GNU Tools for ARM Embedded Processors (Build 17.03))
7.10.1.20160923-cvs" Do not have this problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]