| Summary: | ROV view of SysMin outbuf is garbled | ||
|---|---|---|---|
| Product: | [Technology] RTSC | Reporter: | Ramsey Harris <ramsey> |
| Component: | Runtime | Assignee: | Chris McCormick <c-mccormick> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | d-russo, sascha |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | target:3.20 | ||
|
Description
Ramsey Harris
Fixed this in xdc-v32. Fixed the view in a few ways: - It will check the 'outidx' and 'wrapped' flags to determine how many characters are in the buffer. It won't read strings that have already been flushed. - It will unwrap the buffer and display the strings in the correct order. - It will display the contents at the 'end' of the buffer even if they don't end in a newline. I'm checking in an ROV test case for this in the regresstest tree in: regresstest/src/rovtests/xdcruntime/SysMinTest1. I built the BIOS memory example with 64 bytes buffer for SysMin using 3.20.00.34. The output is longer than 64 bytes and ROV window displays it as: e eeSize = 512 totalFreeSize = 512 totalSize = 512 The memory buffer also contains the last added entry "Task complete" but its only displayed part is 'e' at the beginning of the ROV output. The rest of the last entry is at the end of the actual memory buffer, but is not displayed, as described in 2. After building with 3.20.00.39, the content of the buffer in the memory is the same, but the ROV window displays it as: eeSize = 512 totalFreeSize = 512 totalSize = 512 Task1 Complete That's what the last 64 bytes of the output should be. closing "ancient" resolved bugs |