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/22217] New: gdb mi command -thread-list-ids


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

            Bug ID: 22217
           Summary: gdb mi command -thread-list-ids
           Product: gdb
           Version: 8.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: mi
          Assignee: unassigned at sourceware dot org
          Reporter: grassfedcode at gmail dot com
  Target Milestone: ---

Example output of "-thread-list-ids" is as follows:

^done,thread-ids={thread-id="1",thread-id="2"},current-thread-id="2",number-of-threads="2"

The problem with this output is that the key "thread-id" is used multiple
times. In all other cases, this type of output corresponds to an associative
array (Python dictionary, JavaScript object, etc.) with unique keys. In this
case, the keys are not distinct. The output *should* be:

^done,thread-ids=["1","2"},current-thread-id="2",number-of-threads="2"

-- 
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]