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.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to