| Summary: | Recast to array adds start indices | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Axel Mueller <aegges> |
| Component: | cdt-debug-cdi-gdb | Assignee: | Project Inbox <cdt-debug-cdi-gdb-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | Elena Laskavaia <elaskavaia.cdt> |
| Severity: | normal | ||
| Priority: | P3 | CC: | nobody, pawel.1.piech |
| Version: | 0 DD 1.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Axel Mueller
Casts are always accumulated (which I don't think a good idea anyway). You have to clean the casts first to cast to something new. As Alena rightly mentioned (even though she didn't like it) it is the expected behavior. You cast to type the current not the original type. (In reply to comment #2) > As Alena rightly mentioned (even though she didn't like it) it is the expected > behavior. You cast to type the current not the original type. This behavior is then different for EDC and the DSF-GDB implementation I am working currently on (see bug #06555). Cast to type and cast to array can be combined but cast to array is always a recast (new length and start index). (In reply to comment #3) > working currently on (see bug #06555). Cast to type and cast to array can be That should be bug #306555 |