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/21875] New: GDB/MI shouldn't print repeating values as <repeats 16 times>


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

            Bug ID: 21875
           Summary: GDB/MI shouldn't print repeating values as <repeats 16
                    times>
           Product: gdb
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: mi
          Assignee: unassigned at sourceware dot org
          Reporter: b7.10110111 at gmail dot com
  Target Milestone: ---

Tested with GDB 8.0.50.20170801-git on x86_64 Linux system. Test command:

cat << EOF | gdb -i=mi
-file-exec-and-symbols /bin/true
-break-insert *0
-exec-run
-data-list-register-values r 40
EOF

The -data-list-register-values command prints SSE register as

^done,register-values=[{number="40",value="{v4_float = {0x00000000, 0x00000000,
0x00000000, 0x00000000}, v2_double = {0x0000000000000000, 0x0000000000000000},
v16_int8 = {0x00 <repeats 16 times>}, v8_int16 = {0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000}, v4_int32 = {0x00000000, 0x00000000,
0x00000000, 0x00000000}, v2_int64 = {0x0000000000000000, 0x0000000000000000},
uint128 = 0x00000000000000000000000000000000}"}]

Notice the "v16_int8 = {0x00 <repeats 16 times>}". This is not really
machine-friendly. All repetitions should be explicitly spelled out.

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