This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/16086] New: MI data-evaluate-expression wrong repeat counts
- From: "forum at emblocks dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 25 Oct 2013 13:49:31 +0000
- Subject: [Bug gdb/16086] New: MI data-evaluate-expression wrong repeat counts
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16086
Bug ID: 16086
Summary: MI data-evaluate-expression wrong repeat counts
Product: gdb
Version: 7.6
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: forum at emblocks dot org
If I have a char[512] and every thing is cleared I get
value="'\\000' <repeats 511 times>"
So the "\\000' also counts.
Now I make member char[100] = 1 and now I get:
value="'\\000' <repeats 100 times>, \"\\001\", '\\000' <repeats 410 times>"
Which will give us
1 + 100 + 1 + 1 + 410 = 513
The first <repeats 100 times> should be 99 or the last should be 411.
This is not to parse.
--
You are receiving this mail because:
You are on the CC list for the bug.