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 19:08:49 UTC 2024




Suraj  Kumar commented on a discussion on rtems/config/stdcxx-template.py: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/35#note_109048

 > +import sys
 > +import traceback
 > +import gdb
 > +import os
 > +
 > +
 > +gdb_path = gdb.PYTHONDIR
 > +gcc_version = "@RSB_GCC_VERSION@"
 > +
 > +gcc_path = os.path.dirname(os.path.dirname(gdb_path))
 > +gcc_path = os.path.join(gcc_path, "gcc-" + gcc_version)
 > +gcc_python_path = os.path.join(gcc_path, "python")

Bingo. Is it clear enough from the name or could the file use some comments?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/35#note_109048
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/d110a2d3/attachment.htm>


More information about the bugs mailing list