RTEMS | Draft: Add new section: .debug_gdb_scripts, across all executables on RTEMS (!98)

Christian Mauderer (@c-mauderer) gitlab at rtems.org
Tue Jul 16 09:47:24 UTC 2024




Christian Mauderer commented on a discussion on cpukit/sapi/src/exinit.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/98#note_109369

 >    _Scheduler_Handler_initialization();
 >  
 >    _SMP_Handler_initialize();
 > +
 > +  /* Macro call to embed section in script for pretty-printing */
 > +  DEFINE_GDB_PY();

If it works at a file scope: Please place it at that scope.

You only add the code once. So I don't think the macro is necessary. I would suggest to use the `asm()` statement directly.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/98#note_109369
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/20240716/3c7d2577/attachment.htm>


More information about the bugs mailing list