GDB as a cross-debugger
Last cycle Linaro focused on bringing native GDB on ARM up to par with x86. Many end-developer projects are done in a cross environment. Discuss the tools used in cross debug such as gdbserver, bringing cross debug up to par with native GDB, adding tracepoints and fast tracepoints, and any host side issues such as multiarch integration.
Blueprint information
- Status:
- Complete
- Approver:
- Michael Hope
- Priority:
- High
- Drafter:
- Ulrich Weigand
- Direction:
- Needs approval
- Assignee:
- Ulrich Weigand
- Definition:
- Approved
- Series goal:
- Accepted for 7.3
- Implementation:
- Implemented
- Milestone target:
- 7.3-2011.10
- Started by
- Ulrich Weigand
- Completed by
- Ulrich Weigand
Related branches
Related bugs
Whiteboard
Headline: Bring cross debug up to par with native GDB, adding tracepoints and fast tracepoints, and any host side issues such as multiarch integration.
Acceptance: Run GDB testsuite via gdbserver and check remote access
Additional feedback from UDS:
- Verify multi-arch setup is working well for cross-debugging
- Integrate debugger into dbgsym package retrieval (cross & native)
- Verify "remote:" access to libraries works & is stable
- Improving KGDB kernel debugging (e.g. automatic module symbols)
- Support GDB tracepoints on native as well
- Add capability to collect timestamp at tracepoints
Work Items
Work items:
Run GDB testsuite via gdbserver and investigate failures: DONE
Work with platform team to ensure good integration of cross-debugger with host packaging: POSTPONED
Add any multiarch support: DONE
Check and fix 'remote' access to libraries: DONE
Dependency tree
* Blueprints in grey have been implemented.