| Summary: | Memory windows do not work across debug sessions, gdb 7.2 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Don Porges <dporges> | ||||||
| Component: | cdt-debug-dsf-gdb | Assignee: | Project Inbox <cdt-debug-dsf-gdb-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Marc Khouzam <marc.khouzam> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | cdtdoug, jason.litton, nobody, pawel.1.piech | ||||||
| Version: | 8.0 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Don Porges
Created attachment 190431 [details]
CDT-to-gdb traces for non-working (gdb 7.2) case
Created attachment 190432 [details]
CDT-to-gdb traces for working (gdb 6.8) case
I have been chasing this bug in Juno for a little bit now, and I think it's a problem with platform. In the successful scenario, the path travels through org.eclipse.debug.internal.ui.views.memory.RenderingViewPane.memoryBlockRenderingAdded(final IMemoryRendering rendering), which is doing all of the UI rendering here. In CDT, this passes through GDBMemoryBlockRetrieval.getMemoryBlock(vars). In the unsuccessful scenario, the path goes through GDBMemoryBlockRetrieval.createBlocksFromConfiguration(vars). Both of those CDT methods instantiate a new GdbMemoryBlock with the exact same arguments. As far as I can tell, the difference in the scenario is the code path prior to the CDT calls, and so it would seem to be a platform bug. I'm not sure if we want to pass this down to the platform team at this point, or if we can find a way to fix this at the CDT level. I'm willing to code the patches for the second option, but I would need help figuring out the strategy there. *** This bug has been marked as a duplicate of bug 383344 *** |