rtems_panic() in gxx_wrappers.c

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Nov 30 12:11:22 UTC 2009


Hi,

the file "gxx_wrappers.c" contains the mutex implementation used by the C++
part of GCC.  It uses rtems_panic() to handle fatal errors.  This is quite bad
for targets with limited resources since this pulls in the C IO library and
fprintf().  I would like to change this to rtems_fatal_error_occurred().  How
can I allocate an error code for this place?

Have a nice day!

-- 
Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
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 users mailing list