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

Suraj Kumar (@the.m3chanic) gitlab at rtems.org
Mon Jul 15 13:41:20 UTC 2024




Suraj  Kumar commented on a discussion on cpukit/sapi/src/exinit.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/98#note_109326

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

@c-mauderer Sorry for the late reply, I missed this comment. 

Yes, `asm()` works outside of a function as well, would you like me to remove the macro and the function call and just add it directly as global code, or inside the function? 

I'm not sure what you meant by: 

> Inside the function I like the solution because it does look quite clean.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/98#note_109326
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/20240715/e01d98e7/attachment.htm>


More information about the bugs mailing list