| Summary: | GDBHardwareAndOS#isAvailable() always returns false | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Marc Dumais <marc.dumais> |
| Component: | cdt-debug-dsf-gdb | Assignee: | Marc Dumais <marc.dumais> |
| Status: | RESOLVED FIXED | QA Contact: | Marc Khouzam <marc.khouzam> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | cdtdoug, pawel.1.piech, vladimir.prus |
| Version: | 8.4.0 | ||
| Target Milestone: | 8.5 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 407640 | ||
|
Description
Marc Dumais
Here is a patch. https://git.eclipse.org/r/26542 It just replaces the implementation of isAvailable() of GDBHardwareAndOS by that of GDBHardwareAndOS_7_5. Since the later extends the former, it will not change anything for GDB 7.5+. However it will permit using the useful information provided by this method with older GDBs. I have confirmed that the OS resource view does not break, with this change, for GDB 7.5+. When using an older GDB it simply reports that the "OS resources are not available using your target abd GDB", which seems fine (i.e. the OS resources view was not relying on isAvailable() to always return false for older GDBs). BTW, I see this as an enhancement, and so will not target the Luna release. Marc D committed to master: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=8ce51305f03946752b033b416bcfd0ebe0509431 |