rtems_fatal() as inline in a header file

Sebastian Huber sebastian.huber at embedded-brains.de
Fri May 19 05:11:17 UTC 2017


On 18/05/17 20:35, Pham, Phong wrote:
> I am only interested in moving rtems_fatal() implementation to a fatal.c (thus removing the inline) and leave the indirection issue alone.  Are you comfortable with this (b4 I do the work and checkin)?  In this manner, the API remain the same.

Why should we prevent the compiler from optimizing this function away? 
For debugging you should set the break point to _Terminate().

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list