RTEMS Source Builder | Draft: RSB modifications to install stdcxx.py in gdb/python/rtems (!35)
Suraj Kumar (@the.m3chanic)
gitlab at rtems.org
Wed Jul 10 16:55:14 UTC 2024
Suraj Kumar created a merge request: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/35
Project:Branches: the.m3chanic/rtems-source-builder:the-m3chanic to rtems/tools/rtems-source-builder:main
Author: Suraj Kumar
## Summary
The current implementation of auto-loading pretty-printers in GDB depends on a script, `stdcxx.py` to register the pretty-printers provided by GCC. The path to these scripts changes with every evolving version of GCC, and hence the `gcc_version` variable used in `stdcxx.py` would need updating with every new build.
### Solution
Modify the `gcc-common-1.cfg` script in `source-builder/config` to:
1. Find the current GCC version according to the target being built
2. Add some instructions to resolve paths to the template script present in `rtems/config`
3. Use that to install `stdcxx.py` with the correct GCC version in `gdb/python/rtems` in the build target directory
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/35
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240710/c0459f73/attachment.htm>
More information about the bugs
mailing list