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.hu...@embedded-brains.de
PGP     : Public key available on request.

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

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

Reply via email to